garbas/vim-snipmate

Error detected while processing .vim/bundle/tlib_vim/plugin/02tlib.vim line 77: E1208: -complete used without -nargs

GabLeRoux opened this issue · 4 comments

After following installation instructions using Vundle, I get the following error message:

Error detected while processing /Users/gableroux/.vim/bundle/tlib_vim/plugin/02tlib.vim:
line   77: E1208: -complete used without -nargs

Related content in ~/.vimrc:

" https://github.com/garbas/vim-snipmate
let g:snipMate = { 'snippet_version' : 1 }
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'

Related plugin with error: https://github.com/tomtom/tlib_vim
Line pointed by error in related dependency plugin: https://github.com/tomtom/tlib_vim/blob/a071b6d41b20069a3520e0d101194a752968973b/plugin/02tlib.vim#L77

Vim version:

vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jul 11 2021 17:44:18)
macOS version - x86_64
Included patches: 1-3150
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       -tcl
+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              +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        +vartabs
+clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +virtualedit
+cmdline_hist      +langmap           -python            +visual
+cmdline_info      +libcall           +python3           +visualextra
+comments          +linebreak         +quickfix          +viminfo
+conceal           +lispindent        +reltime           +vreplace
+cryptv            +listcmds          +rightleft         +wildignore
+cscope            +localmap          +ruby              +wildmenu
+cursorbind        +lua               +scrollbind        +windows
+cursorshape       +menu              +signs             +writebackup
+dialog_con        +mksession         +smartindent       -X11
+diff              +modify_fname      -sodium            -xfontset
+digraphs          +mouse             -sound             -xim
-dnd               -mouseshape        +spell             -xpm
-ebcdic            +mouse_dec         +startuptime       -xsmp
+emacs_tags        -mouse_gpm         +statusline        -xterm_clipboard
+eval              -mouse_jsbterm     -sun_workshop      -xterm_save
+ex_extra          +mouse_netterm     +syntax
+extra_search      +mouse_sgr         +tag_binary
-farsi             -mouse_sysmouse    -tag_old_static
   system vimrc file: "$VIM/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/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lm -lncurses -liconv -lintl -framework AppKit -L/usr/local/opt/lua/lib -llua5.4 -mmacosx-version-min=11.3 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0/darwin-thread-multi-2level/CORE -lperl -L/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/config-3.9-darwin -lpython3.9 -framework CoreFoundation -lruby.3.0 -L/usr/local/Cellar/ruby/3.0.2/lib

vundle version: (latest commit on master: b255382)
vim-snipmate version: latest commit on master: ed3c542)

This happened to me after I upgraded VIM to version 8.2.3182. I'm not sure what version I was running previously but I keep it fairly up-to-date. Some recent change in VIM broke tlib_vim.

And following up, a new version of tlib_vim was made available a few days ago that fixes the issue. Updating plugins via Vundle makes the error message go away.

It looks like this was an issue with tlib. I hope to eventually make that dependency optional or remove it entirely to avoid this in the future. In any case I'm going to close this. If anyone has more issues, please update tlib and then reopen this.

I am experiencing this too