disable rainbow on js and html

This commit is contained in:
2022-07-10 23:03:57 -05:00
parent 9f7730c757
commit 0b1563d9c0
+3 -2
View File
@@ -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