Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tankb52 opened this issue Jun 20, 2020 · 6 comments

Comments

@tankb52
Copy link

tankb52 commented Jun 20, 2020

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
Copy link
Author

tankb52 commented Jun 20, 2020

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

@luochen1990
Copy link
Owner

Is there any error message?

@tankb52
Copy link
Author

tankb52 commented Jun 24, 2020

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
Copy link
Author

tankb52 commented Jun 24, 2020

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

@tankb52
Copy link
Author

tankb52 commented Jun 24, 2020

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".

@luochen1990
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants