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

Got a lot of errors after update to vim 8.1.53 #203

Open
sudoyang opened this issue Jun 13, 2018 · 5 comments
Open

Got a lot of errors after update to vim 8.1.53 #203

sudoyang opened this issue Jun 13, 2018 · 5 comments

Comments

@sudoyang
Copy link

Below list all errors I got. Anyone has same problem? Thanks.

Error detected while processing /home/phy/.vim/colors/solarized.vim:
line 138:
E697: Missing end of List ']':
E15: Invalid expression: [
line 139:
E10: \ should be followed by /, ? or &
line 140:
E10: \ should be followed by /, ? or &
line 141:
E10: \ should be followed by /, ? or &
line 144:
E697: Missing end of List ']':
E15: Invalid expression: [
line 145:
E10: \ should be followed by /, ? or &
line 146:
E10: \ should be followed by /, ? or &
line 147:
E10: \ should be followed by /, ? or &
line 152:
E121: Undefined variable: s:terms_italic
E15: Invalid expression: s:terms_italic
line 165:
E697: Missing end of List ']':
E15: Invalid expression: [
line 166:
E10: \ should be followed by /, ? or &
line 167:
E10: \ should be followed by /, ? or &
line 168:
E10: \ should be followed by /, ? or &
line 169:
E10: \ should be followed by /, ? or &
line 170:
E10: \ should be followed by /, ? or &
line 171:
E10: \ should be followed by /, ? or &
line 172:
E10: \ should be followed by /, ? or &
line 173:
E10: \ should be followed by /, ? or &
line 174:
E10: \ should be followed by /, ? or &
line 175:
E697: Missing end of List ']':
E15: Invalid expression: [
line 176:
E10: \ should be followed by /, ? or &
line 177:
E10: \ should be followed by /, ? or &
line 178:
E10: \ should be followed by /, ? or &
line 179:
E10: \ should be followed by /, ? or &
line 180:
E697: Missing end of List ']':
E15: Invalid expression: [
line 181:
E10: \ should be followed by /, ? or &
line 182:
E10: \ should be followed by /, ? or &
line 183:
E10: \ should be followed by /, ? or &
line 184:
E10: \ should be followed by /, ? or &
line 185:
E10: \ should be followed by /, ? or &
line 186:
E10: \ should be followed by /, ? or &
line 187:
E697: Missing end of List ']':
E15: Invalid expression: [
line 188:
E10: \ should be followed by /, ? or &
line 189:
E10: \ should be followed by /, ? or &
line 190:
E10: \ should be followed by /, ? or &
Error detected while processing function 8_SetOption:
line 10:
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
E121: Undefined variable: s:defaults_list
E116: Invalid arguments for function add
Press ENTER or type command to continue

@cangiuli
Copy link

It appears that there's a bug (vim/vim#3014) in that version of Vim. A workaround is to add set nocompatible to your .vimrc file.

@sudoyang
Copy link
Author

Thanks! @cangiuli but I have nocompatible set already.

I do not know the mechanism but I fixed it by putting this statement "colorscheme solarized" to the very end of my .vimrc file and everything is normal. This link inspires me to do so. I guess the error message I got is due to it cannot find some required setting in advance. If anyone is very clear about why, it would be great to describe the mechanism. Thanks!

@cangiuli
Copy link

FYI, in case anyone else is having this problem, it looks like it was an issue with the Debian package, and can be resolved as described here: vim/vim#3014 (comment)

@Siddhant085
Copy link

Siddhant085 commented Feb 6, 2019

I am hitting the same issue on VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 21 2016 17:10:41).
The problem occurs on changing the default location of my vimrc file. I am using vim -u to start vim and I get the above error. Also I am running this on mac osx mojave so it can't be a debian package.

I tried putting colorscheme solarized at the end of .vimrc but that didn't work either.

@sudoyang
Copy link
Author

sudoyang commented Feb 6, 2019

@Siddhant085
Check this please.
You can give it a try.

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

No branches or pull requests

3 participants