You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2023. It is now read-only.
Describe the bug
if you try to overwrite the colures use in the rainbow part of the treessitter config the now colors will not get applied Steps to reproduce
Steps to reproduce the behavior.
use this as your treesiter configuration
localparsers=require("nvim-treesitter.parsers")
localenabled_list= {"clojure", "fennel","racket"}
require'nvim-treesitter.configs'.setup {
ensure_installed="maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languageshighlight= {
enable=true, -- false will disable the whole extensiondisable= { "c", "rust" }, -- list of language that will be disabled-- Setting this to true will run `:h syntax` and tree-sitter at the same time.-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).-- Using this option may slow down your editor, and you may see some duplicate highlights.-- Instead of true it can also be a list of languagesadditional_vim_regex_highlighting=false,
},
rainbow= {
enable=true,
colors= {
"#E06C75",
"#E5C07B",
"#98C379",
"#56B6C2",
"#61AFEF",
"#C678DD",
"#E06C75"
},
extended_mode=true,
max_file_lines=nil,
disable=vim.tbl_filter(
function(p)
localdisable=truefor_, langinpairs(enabled_list) doifp==langthendisable=falseendendreturndisableend, parsers.available_parsers()
)
}
}
Expected behavior
I expected the the (), [] , and {} to have the colors above not the definition grouvbox colors
Describe the bug
if you try to overwrite the colures use in the rainbow part of the treessitter config the now colors will not get applied
Steps to reproduce
Steps to reproduce the behavior.
use this as your treesiter configuration
Expected behavior
I expected the the
(),[], and{}to have the colors above not the definition grouvbox colors