diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua index 569eb99..335728b 100644 --- a/lua/user/treesitter.lua +++ b/lua/user/treesitter.lua @@ -1,11 +1,23 @@ require("nvim-treesitter.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 = "", + svelte = "", + vue = "", + json = "", + }, }, rainbow = { enable = true,