update config

This commit is contained in:
asep komarudin 2023-02-05 09:19:15 +07:00
parent 8f33e5737f
commit 76c86a6842

View file

@ -1,11 +1,23 @@
require("nvim-treesitter.configs").setup({ require("nvim-treesitter.configs").setup({
ignore_install = { "phpdoc" }, -- List of parsers to ignore installing
highlight = { highlight = {
enable = true, enable = true,
disable = { "css" }, -- list of language that will be disabled
additional_vim_regex_highlighting = false, additional_vim_regex_highlighting = false,
}, },
context_commentstring = { context_commentstring = {
enable = true, enable = true,
enable_autocmd = false, enable_autocmd = false,
config = {
-- Languages that have a single comment style
typescript = "// %s",
css = "/* %s */",
scss = "/* %s */",
html = "<!-- %s -->",
svelte = "<!-- %s -->",
vue = "<!-- %s -->",
json = "",
},
}, },
rainbow = { rainbow = {
enable = true, enable = true,