jonathanfilip / vim-lucius

Lucius color scheme for vim
409 stars 81 forks source link

vim-lucius 8.0.0 breaks backwards compatibility with vim 7.2 (latest on maemo 5) #11

Open doctorcolossus opened 9 years ago

doctorcolossus commented 9 years ago

vim-lucius 7.1.1 works fine for me, so this is not a huge deal for me.

I'm just filing this bug report in case you are interested in maintaining backwards-compatibility and making other N900 users' lives easier.

vim-lucius 8.0.0 (c58456ac9c01f63495e4af0cab26ec9bbb5c8fc) produces these errors:

Error detected while processing /opt/maemo/usr/share/vim/vim72/colors/lucius.vim:
line   92:
E15: Invalid expression: = &background
E15: Invalid expression: = &background
line   96:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "dark_dim"
line  100:
E121: Undefined variable: s:style
E15: Invalid expression: "set background=" . s:style
line  115:
E121: Undefined variable: g:lucius_style
E15: Invalid expression: g:lucius_style == "dark_dim"
line  270:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line  297:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line  318:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line  379:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line  430:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line  465:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line  554:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"
line  581:
E121: Undefined variable: s:style
E15: Invalid expression: s:style == "light"

Neither it, nor newer versions of vim-lucius work properly in this old vim:

VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jan  3 2010 21:22:27)
Compiled by root@wml0226
Normal version without GUI.  Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent 
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+cryptv -cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic 
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path 
+float +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand 
+jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap 
+menu +mksession +modify_fname +mouse -mouseshape -mouse_dec -mouse_gpm 
-mouse_jsbterm -mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte 
+multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra -perl +postscript 
+printer -profile -python +quickfix +reltime -rightleft -ruby +scrollbind 
-signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary 
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo 
+vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset -xim -xsmp
 +xterm_clipboard -xterm_save 
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: 
arm-linux-gnueabi-gcc -c -I. -Iproto -DHAVE_CONFIG_H     -Wall -g -O2        
Linking: arm-linux-gnueabi-gcc   -Wl,-z,defs -L/usr/local/lib -o vim    -lXt -lm -lncurses

By the way, thanks so much. I LOVE this theme. [-:

sunaku commented 7 years ago

I couldn't reproduce this issue under Vim 8.0 or NeoVim 0.2.0 so this issue might be obsolete now. ⏲