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

Every time I open a file, I get some error messages. #1090

Open
Sujiyi opened this issue Mar 2, 2019 · 3 comments
Open

Every time I open a file, I get some error messages. #1090

Sujiyi opened this issue Mar 2, 2019 · 3 comments

Comments

@Sujiyi
Copy link

Sujiyi commented Mar 2, 2019

Hello everyone !
Every time I open a file, I get some error messages.
The message is below:

Error detected while processing function rainbow_main#load[1]..rainbow_main#gen_
configs[1]..rainbow_main#gen_config:
line 21:
E716: Key not present in Dictionary: cterm))
E116: Invalid arguments for function len(conf.cterm))
E116: Invalid arguments for function s:lcm(len(conf.ctermfgs), len(conf.cterm))
Error detected while processing function rainbow_main#load[3]..rainbow#syn:
line 3:
E716: Key not present in Dictionary: cycle
line 14:
E121: Undefined variable: cycle
line 18:
E121: Undefined variable: cycle
E116: Invalid arguments for function range(cycle)
E121: Undefined variable: cycle
E116: Invalid arguments for function range(cycle)
E121: Undefined variable: cycle
E116: Invalid arguments for function range(cycle)
line 32:
E121: Undefined variable: cycle
E116: Invalid arguments for function range(cycle), '"'.prefix.'_r".v:val'),',')
E116: Invalid arguments for function map(range(cycle), '"'.prefix.'_r".v:val'),'
-- More --

What should I do to fix it?

version:
:version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 2 2019 02:44:03)
Included patches: 1-989
Huge version without GUI. Features included (+) or not (-):
+acl +extra_search +mouse_netterm +tag_old_static
+arabic -farsi +mouse_sgr -tag_any_white
+autocmd +file_in_path -mouse_sysmouse -tcl
+autochdir +find_in_path +mouse_urxvt +termguicolors
-autoservername +float +mouse_xterm +terminal
-balloon_eval +folding +multi_byte +terminfo
+balloon_eval_term -footer +multi_lang +termresponse
-browse +fork() -mzscheme +textobjects
++builtin_terms +gettext +netbeans_intg +textprop
+byte_offset -hangul_input +num64 +timers
+channel +iconv +packages +title
+cindent +insert_expand +path_extra -toolbar
-clientserver +job -perl +user_commands
-clipboard +jumplist +persistent_undo +vartabs
+cmdline_compl +keymap +postscript +vertsplit
+cmdline_hist +lambda +printer +virtualedit
+cmdline_info +langmap +profile +visual
+comments +libcall -python +visualextra

@LuengChaoH
Copy link

I also encountered the same problem, this problem is caused by rainbow!
https://github.com/luochen1990/rainbow/pull/112

@Sujiyi
Copy link
Author

Sujiyi commented Mar 3, 2019

I also encountered the same problem, this problem is caused by rainbow!
https://github.com/luochen1990/rainbow/pull/112

Thank you for your help! I solved this problem with your help.

@lmayorga1980
Copy link

I've got the same problem.
screen shot 2019-03-03 at 2 38 56 pm

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