Closed XingZhiang closed 2 years ago
What is the filetype (use :set ft?
to show it) of the nerdtree buffer?
If you know that, you can disable rainbow for this filetype specificly (See README.md about configuration).
What is the filetype (use
:set ft?
to show it) of the nerdtree buffer?If you know that, you can disable rainbow for this filetype specificly (See README.md about configuration).
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Plugin: Rainbow "
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:rainbow_active = 1
let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}'], ['<', '>']]
let g:rainbow_conf = {
\ 'nerdtree': 0,
\ }
I disabled this plugin with nerdtree but still see the parentheses.
@hungpham3112 What's your output of :set ft?
when you focus on the nerdtree buffer?
@hungpham3112 Oh, it's the syntax of your configuration! 'nerdtree': 0
should be inside the seperately
block .
@hungpham3112 Oh, it's the syntax of your configuration!
'nerdtree': 0
should be inside theseperately
block .
I got it, but it also change the color of commas in code and the color of cursor. How can I configure it? Thanks
I cannot figure out what's your current issue, If you are talking about a new issue, please open a new one and describe your observation and expectation so that I can help you, thank you.
I cannot figure out what's your current issue, If you are talking about a new issue, please open a new one and describe your observation and expectation so that I can help you, thank you.
I mean how can I turn off colorscheme for commas. it just appear when I run: RainbowToggle
Describe the bug
there will have extra parentheses '[]' around the directory icon when using rainbow with 'preservim/nerdtree'