disable rainbow on js and html
This commit is contained in:
+3
-2
@@ -108,15 +108,16 @@ g.bracey_refresh_on_save = true
|
||||
-----------------------
|
||||
-- TREESITTER CONFIG --
|
||||
-----------------------
|
||||
local ts_visual_disable = { "typescript", "tsx", "html", "javascript" }
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = "all",
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = { "typescript", "tsx", "html", "javascript" },
|
||||
disable = ts_visual_disable,
|
||||
},
|
||||
rainbow = {
|
||||
enable = true,
|
||||
-- disable = { "jsx", "cpp" }, list of languages you want to disable the plugin for
|
||||
disable = ts_visual_disable,
|
||||
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
|
||||
max_file_lines = nil, -- Do not enable for files with more than n lines, int
|
||||
-- colors = {}, -- table of hex strings
|
||||
|
||||
Reference in New Issue
Block a user