diff options
author | kylo252 <[email protected]> | 2022-05-11 17:15:00 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-05-11 17:15:00 +0200 |
commit | a2714c3c382a1b6c9d4390eead924cc48ac594a3 (patch) | |
tree | be93060f5f79c4172eac06fd4810675920835eb1 /lua/lvim/core/treesitter.lua | |
parent | b0608275189f6adf389053e4a19447732eae08dd (diff) |
fix(autocmds): disable commentstring_calc on cursor-hold (#2581)
Diffstat (limited to 'lua/lvim/core/treesitter.lua')
-rw-r--r-- | lua/lvim/core/treesitter.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lua/lvim/core/treesitter.lua b/lua/lvim/core/treesitter.lua index d8b0c136..fcada24f 100644 --- a/lua/lvim/core/treesitter.lua +++ b/lua/lvim/core/treesitter.lua @@ -12,11 +12,12 @@ M.config = function() }, highlight = { enable = true, -- false will disable the whole extension - additional_vim_regex_highlighting = true, + additional_vim_regex_highlighting = false, disable = { "latex" }, }, context_commentstring = { enable = true, + enable_autocmd = false, config = { -- Languages that have a single comment style typescript = "// %s", @@ -28,9 +29,7 @@ M.config = function() json = "", }, }, - -- indent = {enable = true, disable = {"python", "html", "javascript"}}, - -- TODO seems to be broken - indent = { enable = true, disable = { "yaml" } }, + indent = { enable = true, disable = { "yaml", "python" } }, autotag = { enable = false }, textobjects = { swap = { |