summaryrefslogtreecommitdiff
path: root/lua/lv-treesitter/init.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-07-05 19:56:08 -0400
committerChris <[email protected]>2021-07-05 19:56:08 -0400
commit0b7e8e1b073b7b362f0ea08f989724dd7d312fcc (patch)
tree1a141abba4cf86e5a7601554ef62b33eb643d86e /lua/lv-treesitter/init.lua
parent6258b2b4bab1964f36279e16afc093306b35d006 (diff)
fix ts bugs
Diffstat (limited to 'lua/lv-treesitter/init.lua')
-rw-r--r--lua/lv-treesitter/init.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/lua/lv-treesitter/init.lua b/lua/lv-treesitter/init.lua
index 2fdd7f14..3876fb7a 100644
--- a/lua/lv-treesitter/init.lua
+++ b/lua/lv-treesitter/init.lua
@@ -100,7 +100,7 @@ require("nvim-treesitter.configs").setup {
-- indent = {enable = true, disable = {"python", "html", "javascript"}},
-- TODO seems to be broken
indent = { enable = { "javascriptreact" } },
- autotag = { enable = O.plugin.ts_autotag.active },
+ -- autotag = { enable = O.plugin.ts_autotag.active },
textobjects = {
swap = {
enable = O.plugin.ts_textobjects,
@@ -134,9 +134,9 @@ require("nvim-treesitter.configs").setup {
show_help = "?",
},
},
- rainbow = {
- enable = O.plugin.ts_rainbow.active,
- extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
- max_file_lines = 1000, -- Do not enable for files with more than 1000 lines, int
- },
+ -- rainbow = {
+ -- enable = O.plugin.ts_rainbow.active,
+ -- extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
+ -- max_file_lines = 1000, -- Do not enable for files with more than 1000 lines, int
+ -- },
}