mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
fix ts bugs
This commit is contained in:
parent
6258b2b4ba
commit
0b7e8e1b07
1 changed files with 6 additions and 6 deletions
|
@ -100,7 +100,7 @@ require("nvim-treesitter.configs").setup {
|
||||||
-- indent = {enable = true, disable = {"python", "html", "javascript"}},
|
-- indent = {enable = true, disable = {"python", "html", "javascript"}},
|
||||||
-- TODO seems to be broken
|
-- TODO seems to be broken
|
||||||
indent = { enable = { "javascriptreact" } },
|
indent = { enable = { "javascriptreact" } },
|
||||||
autotag = { enable = O.plugin.ts_autotag.active },
|
-- autotag = { enable = O.plugin.ts_autotag.active },
|
||||||
textobjects = {
|
textobjects = {
|
||||||
swap = {
|
swap = {
|
||||||
enable = O.plugin.ts_textobjects,
|
enable = O.plugin.ts_textobjects,
|
||||||
|
@ -134,9 +134,9 @@ require("nvim-treesitter.configs").setup {
|
||||||
show_help = "?",
|
show_help = "?",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
rainbow = {
|
-- rainbow = {
|
||||||
enable = O.plugin.ts_rainbow.active,
|
-- enable = O.plugin.ts_rainbow.active,
|
||||||
extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
|
-- 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
|
-- max_file_lines = 1000, -- Do not enable for files with more than 1000 lines, int
|
||||||
},
|
-- },
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue