rainbow
rainbow copied to clipboard
[Bug] Same operation and files cannot work under Linux, but work well on windows7/10
Describe the bug
First , I build the profile on windows 10,it work well.
Then copy the vim profile my Debian 10 (buster) : WM: Openbox; gVim 8.1.1401.
It doesn't work.
But copy the vim profile to windows 7 ,it work well.
Rainbow Parentheses can work well on my Linux
Last I delete all , and copy your configure to my ~/.gvimrc and ~/.vim/vimrc, It doesn't work either.
Rainbow
work well by vim: use ~/.vim/vimrc.
Rainbow Parentheses
work well by gvim: use ~/.gvimrc.
Is there any error message?
Is there any error message?
Maybe there is something wrong with my configuration. Today I delete gvimrc, let gvim use vimrc . It works.
but when I run gvim for the first time after deketed gvimrc. the "(((())))" in my test file is not colored, other symbol such as <<<<>>>>, [[[[]]]],{{{{}}}} has colored. then I changed colorscheme by cli ":colorscheme xxxx", all symbol has colored as exoected. Now I test it many times, and it work well.
Supplement :These is no error message when it is not working.
Is there any error message?
Maybe there is something wrong with my configuration. Today I delete gvimrc, let gvim use vimrc . It works.
but when I run gvim for the first time after deketed gvimrc. the "(((())))" in my test file is not colored, other symbol such as <<<<>>>>, [[[[]]]],{{{{}}}} has colored. then I changed colorscheme by cli ":colorscheme xxxx", all symbol has colored as exoected. Now I test it many times, and it work well.
Step:
- Run gvim, open a file .
- open test file contain symbol by cli like ":e test.txt" .
- Now it is not working. need change colorscheme by cli "colorscheme xxxxx".
It seems that there is something wrong with your file detection, can you check your filetype-detected-by-vim via :set ft
.
Sorry for the very very late response, I'm not sure if you are still waiting for the solution, but this response might also help others who has similar issue :)