Closed me-and closed 5 years ago
Another apparent incompatibility, akin to #125.
Update to 1a10ab2 ("fix: cycle calc when using &termguicolors") or later (git bisect shows this is the commit that introduced the problem).
git bisect
Full error output below:
Error detected while processing function rainbow_main#load..rainbow_main#gen_configs..rainbow_main#gen_config: line 21: E113: Unknown option: termguicolors E15: Invalid expression: (has('gui_running') || &termguicolors) ? s:lcm(len(conf.guifgs), len(conf.guis)) : s:lcm(len(conf.ctermfgs), len(conf.cterms)) Error detected while processing function rainbow_main#load..rainbow#syn: line 3: E716: Key not present in Dictionary: cycle E15: Invalid expression: conf.cycle line 6: E121: Undefined variable: cycle E15: Invalid expression: cycle line 9: E121: Undefined variable: cycle E116: Invalid arguments for function range(cycle) E15: Invalid expression: range(cycle) E121: Undefined variable: cycle E116: Invalid arguments for function range(cycle) E15: Invalid expression: range(cycle) E121: Undefined variable: cycle E116: Invalid arguments for function range(cycle) E15: Invalid expression: range(cycle) line 22: E121: Undefined variable: cycle E116: Invalid arguments for function range(cycle) E15: Invalid expression: range(cycle) line 27: E121: Undefined variable: cycle E116: Invalid arguments for function range(cycle), '"@".s:synGroupID(prefix, "Regions", v:val)'), ',') E116: Invalid arguments for function map(range(cycle), '"@".s:synGroupID(prefix, "Regions", v:val)'), ',') E116: Invalid arguments for function join(map(range(cycle), '"@".s:synGroupID(prefix, "Regions", v:val)'), ',') E15: Invalid expression: 'syn cluster '.prefix.'Regions contains='.join(map(range(cycle), '"@".s:synGroupID(prefix, "Regions", v:val)'), ',') line 28: E121: Undefined variable: cycle E116: Invalid arguments for function range(cycle), '"@".s:synGroupID(prefix, "Parentheses", v:val)'), ',') E116: Invalid arguments for function map(range(cycle), '"@".s:synGroupID(prefix, "Parentheses", v:val)'), ',') E116: Invalid arguments for function join(map(range(cycle), '"@".s:synGroupID(prefix, "Parentheses", v:val)'), ',') E15: Invalid expression: 'syn cluster '.prefix.'Parentheses contains='.join(map(range(cycle), '"@".s:synGroupID(prefix, "Parentheses", v:val)'), ',') line 29: E121: Undefined variable: cycle E116: Invalid arguments for function range(cycle), '"@".s:synGroupID(prefix, "Operators", v:val)'), ',') E116: Invalid arguments for function map(range(cycle), '"@".s:synGroupID(prefix, "Operators", v:val)'), ',') E116: Invalid arguments for function join(map(range(cycle), '"@".s:synGroupID(prefix, "Operators", v:val)'), ',') E15: Invalid expression: 'syn cluster '.prefix.'Operators contains='.join(map(range(cycle), '"@".s:synGroupID(prefix, "Operators", v:val)'), ',') Error detected while processing function rainbow_main#load..rainbow#hi: line 5: E716: Key not present in Dictionary: cycle) E116: Invalid arguments for function range(conf.cycle) E15: Invalid expression: range(conf.cycle) E716: Key not present in Dictionary: cycle) E116: Invalid arguments for function range(conf.cycle) E15: Invalid expression: range(conf.cycle) E716: Key not present in Dictionary: cycle) E116: Invalid arguments for function range(conf.cycle) E15: Invalid expression: range(conf.cycle)
I believe I'm using the standard CentOS 7 Vim release. vim --version reports the below:
vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 30 2018 19:56:57) Included patches: 1-160, 399, 402-403, 1099 Modified by <bugzilla@redhat.com> Compiled by <bugzilla@redhat.com> Huge version without GUI. Features included (+) or not (-): +acl +farsi +mouse_netterm +syntax +arabic +file_in_path +mouse_sgr +tag_binary +autocmd +find_in_path -mouse_sysmouse +tag_old_static -balloon_eval +float +mouse_urxvt -tag_any_white -browse +folding +mouse_xterm -tcl ++builtin_terms -footer +multi_byte +terminfo +byte_offset +fork() +multi_lang +termresponse +cindent +gettext -mzscheme +textobjects -clientserver -hangul_input +netbeans_intg +title -clipboard +iconv +path_extra -toolbar +cmdline_compl +insert_expand +perl +user_commands +cmdline_hist +jumplist +persistent_undo +vertsplit +cmdline_info +keymap +postscript +virtualedit +comments +langmap +printer +visual +conceal +libcall +profile +visualextra +cryptv +linebreak +python/dyn +viminfo +cscope +lispindent -python3 +vreplace +cursorbind +listcmds +quickfix +wildignore +cursorshape +localmap +reltime +wildmenu +dialog_con -lua +rightleft +windows +diff +menu +ruby/dyn +writebackup +digraphs +mksession +scrollbind -X11 -dnd +modify_fname +signs -xfontset -ebcdic +mouse +smartindent -xim +emacs_tags -mouseshape -sniff -xsmp +eval +mouse_dec +startuptime -xterm_clipboard +ex_extra +mouse_gpm +statusline -xterm_save +extra_search -mouse_jsbterm -sun_workshop -xpm system vimrc file: "/etc/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/etc" f-b for $VIMRUNTIME: "/usr/share/vim/vim74" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D__linux__ -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -Wl,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lnsl -lselinux -lncurses -lacl -lattr -lgpm -ldl -Wl,--enable-new-dtags -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
This should have been fixed, please confirm it.
The neovim's help mannual tells nothing about the new feature's compatiblity problems, this makes things hard...
Works again, thank you for the quick turn-around!
Describe the bug
Another apparent incompatibility, akin to #125.
To Reproduce
Update to 1a10ab2 ("fix: cycle calc when using &termguicolors") or later (
git bisect
shows this is the commit that introduced the problem).Full error output below:
Additional context
I believe I'm using the standard CentOS 7 Vim release.
vim --version
reports the below: