rainbow icon indicating copy to clipboard operation
rainbow copied to clipboard

[Bug] Same operation and files cannot work under Linux, but work well on windows7/10

Open tankb52 opened this issue 4 years ago • 6 comments

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.

tankb52 avatar Jun 20 '20 12:06 tankb52

Rainbow work well by vim: use ~/.vim/vimrc. Rainbow Parentheses work well by gvim: use ~/.gvimrc.

tankb52 avatar Jun 20 '20 18:06 tankb52

Is there any error message?

luochen1990 avatar Jun 23 '20 01:06 luochen1990

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.

tankb52 avatar Jun 24 '20 14:06 tankb52

Supplement :These is no error message when it is not working.

tankb52 avatar Jun 24 '20 15:06 tankb52

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:

  1. Run gvim, open a file .
  2. open test file contain symbol by cli like ":e test.txt" .
  3. Now it is not working. need change colorscheme by cli "colorscheme xxxxx".

tankb52 avatar Jun 24 '20 15:06 tankb52

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 :)

luochen1990 avatar Nov 20 '21 15:11 luochen1990