Closed Kerwood closed 1 year ago
If you're using nvim-treesitter, try installing the playground plugin and using the :TSCaptureUnderCursor
command to see what groups those words are.
Try to reinstall plugin, it helped me
I have, multiple times..
The impl ....
is of type @keyword
(I dont know why the screenshot became so big:P )
It looks like that the Keyword
(groups.lua#L48) takes precedence over @keyword
(groups.lua#L163)
Same goes for pub
and let
.
clean()
is @function
but matches Function
(groups.lua#L51)
You gotta turn off additional_vim_regex_highlighting
in your nvim-treesitter settings.
No luck.. This is my nvim-treesitter config.
configs.setup({
ensure_installed = "all",
ignore_install = { "" },
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
disable = { "" },
},
indent = { enable = true },
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = nil,
}
})
Hmm, the same problem for me and I can't find out why it is not working as intended.
@Kerwood I bumped nvim-treesitter to this commit and it fixed the problem for me.
Haha yeah that fixed the issue, but apparently broke treesitter syntax for Rust :1st_place_medal: But dracula is working as intended though :)
I wonder why most nvim package repos are not semantic versioned ?
Edit: :TSUpdate
fixed it.
After this PR (https://github.com/Mofiqul/dracula.nvim/pull/49), the majority of colors are cyan.
Before merge
After merge.
Is this the intended behavior ?