diff options
author | kylo252 <[email protected]> | 2022-05-25 13:35:38 +0200 |
---|---|---|
committer | kylo252 <[email protected]> | 2022-05-25 13:35:38 +0200 |
commit | fc63a66ce8d26ab7acf5e178b85d0f69b097ca7e (patch) | |
tree | 1dc5ddb0ec1cdd1d225ded33f157a890699fc348 /lua/lvim/core/treesitter.lua | |
parent | aa4c9930d9131c60d7a6f2e9bec8a2f3ba6c4055 (diff) | |
parent | 6dbba1f9597e0ba090702aea41357c29874aab7c (diff) |
Merge remote-tracking branch 'origin/rolling'
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 = { |