jcherven / jummidark.vim

A Vim/NeoVim syntax and UI (term and GUI) colortheme that supports native statuslines
https://vimcolors.com/1205/jummidark/dark
MIT License
31 stars 5 forks source link

New modeline causes errors on startup #2

Closed achilleas-k closed 2 years ago

achilleas-k commented 2 years ago

The modeline that was added to the dark colorscheme in the most recent commit (4bddc6fcfe50f55a3fc43e65fbd7ad38f297c796) https://github.com/jcherven/jummidark.vim/blob/4bddc6fcfe50f55a3fc43e65fbd7ad38f297c796/colors/jummidark.vim#L207 is causing errors on load.

Minimal setup with output:

❯ tree .vim
.vim
├── colors
│   └── jummidark.vim
└── vimrc

1 directory, 2 files

❯ cat .vim/vimrc
colorscheme jummidark

❯ vim
Error detected while processing /home/achilleas/.vim/vimrc[1]../home/achilleas/.vim/colors/jummidark.vim:
line  207:
E488: Trailing characters: ex: set foldmethod=marker:: # ex: set foldmethod=marker:
Press ENTER or type command to continue
❯ vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 19 2022 21:27:05)
Included patches: 1-4981
Compiled by Arch Linux
Huge version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       +tcl/dyn
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
-balloon_eval      +fork()            +netbeans_intg     +termresponse
+balloon_eval_term +gettext           +num64             +textobjects
-browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     +perl/dyn          +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        +vartabs
-clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +vim9script
+cmdline_hist      +langmap           -python            +viminfo
+cmdline_info      +libcall           +python3/dyn       +virtualedit
+comments          +linebreak         +quickfix          +visual
+conceal           +lispindent        +reltime           +visualextra
+cryptv            +listcmds          +rightleft         +vreplace
+cscope            +localmap          +ruby/dyn          +wildignore
+cursorbind        +lua/dyn           +scrollbind        +wildmenu
+cursorshape       +menu              +signs             +windows
+dialog_con        +mksession         +smartindent       +writebackup
+diff              +modify_fname      -sodium            -X11
+digraphs          +mouse             -sound             -xfontset
-dnd               -mouseshape        +spell             -xim
-ebcdic            +mouse_dec         +startuptime       -xpm
+emacs_tags        +mouse_gpm         +statusline        -xsmp
+eval              -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+ex_extra          +mouse_netterm     +syntax            -xterm_save
+extra_search      +mouse_sgr         +tag_binary
-farsi             -mouse_sysmouse    -tag_old_static
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/vim/src=/usr/src/debug -flto=auto -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.34/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -L/usr/local/lib -o vim -lm -ltinfo -lelf -lacl -lattr -lgpm -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.34/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto -fstack-protector-strong -L/usr/local/lib -L/usr/lib/perl5/5.34/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm
jcherven commented 2 years ago

Sorry about that! Needed a quick adjustment for testing some colors and incorrectly wrote that modeline while I was at work today. I often forget that others might be using this and get really careless about what I push on this, so thanks for reminding me of that. Apologies for the annoyance! I've just pushed a correction of the stupidly written modeline.

achilleas-k commented 2 years ago

No worries. Thanks for the quick fix (and the cool colorscheme) 😊