This commit is contained in:
asep komarudin 2023-11-01 10:10:51 +07:00
parent 721a871f36
commit e52160557a
3 changed files with 45 additions and 17 deletions

View file

@ -10,23 +10,9 @@ configs.setup({
ignore_install = { "phpdoc" }, -- List of parsers to ignore installing
highlight = {
enable = true,
disable = { "css" }, -- list of language that will be disabled
additional_vim_regex_highlighting = false,
},
context_commentstring = {
enable = true,
enable_autocmd = false,
config = {
-- Languages that have a single comment style
typescript = "// %s",
css = "/* %s */",
scss = "/* %s */",
html = "<!-- %s -->",
svelte = "<!-- %s -->",
vue = "<!-- %s -->",
json = "",
},
disable = function(_, bufnr) return vim.b[bufnr].large_buf end,
},
context_commentstring = { enable = true, enable_autocmd = false },
rainbow = {
enable = true,
disable = { "html" },