Open Sujiyi opened 5 years ago
I also encountered the same problem, this problem is caused by rainbow! https://github.com/luochen1990/rainbow/pull/112
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.
I've got the same problem.
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]..rainbowmain#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