From 76c86a6842bbed77477a76c033ebd1e30a995fb4 Mon Sep 17 00:00:00 2001 From: asep komarudin Date: Sun, 5 Feb 2023 09:19:15 +0700 Subject: [PATCH] update config --- lua/user/treesitter.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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,