-
Notifications
You must be signed in to change notification settings - Fork 67
Only work when execute :e to reload current file or :TSEnable rainbow #142
Comments
What happens if you restart nvim, open a file and do |
and if you type |
so how to fix it? |
idk |
Hi @p00f , I have a problem same this ticket, when I checkout to another branch, the highlight brackets are in the wrong position. |
I had the same problem. What worked for me is moving my plugin config into a folder in the after directory. i.e. /.config/nvim/after/plugin/treesitter.lua Remember to remove any require from the init.lua file where it was previously contained. |
Just put
credits to luochen1990/rainbow#163 |
Doesn't seem like it fixes the issue (at least for me). My current workaround is to load |
open a file it doesn't work unless i use the command
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
requires = {
'p00f/nvim-ts-rainbow'
},
config = function()
require('core/treesitter')
end
}
treesitter.setup {
ensure_installed = { 'c', 'cpp', 'vim', 'lua', 'java' },
}
The text was updated successfully, but these errors were encountered: