chamindra / marvim

MARVIM - MAcro Repository for VIM "Give your most complex macros a name and store it for future recall and use"
GNU General Public License v2.0
34 stars 8 forks source link

Errors on v:true and v:false #15

Open marcopolo4k opened 3 years ago

marcopolo4k commented 3 years ago

Vim 7.4.629 on CentOS 7.9.2009 has an error on startup:

Error detected while processing /root/.vim/plugged/marvim/plugin/marvim.vim: line 17: E121: Undefined variable: v:true E15: Invalid expression: v:true line 25: E121: Undefined variable: v:true E15: Invalid expression: v:true line 57: E121: Undefined variable: g:marvim_use_store_key E15: Invalid expression: g:marvim_use_store_key && !empty(g:marvim_store_key) line 62: E121: Undefined variable: g:marvim_use_find_key E15: Invalid expression: g:marvim_use_find_key && !empty(g:marvim_find_key) Press ENTER or type command to continue

Perhaps it's due to v:true and v:false being added in 7.4.1154? https://github.com/vim/vim/releases/tag/v7.4.1154

I tried replacing everything with 1 for true and 0 for false, and errors were silenced, but marvim still would not function, it gives this error when trying to save:

Macro's register empty, not creating macro.

I installed this via vim-plug, which has replaced Vundle & pathogen for me without issues for all the plugins I've tried. I doubted that'd be the cause, but please lmk if it's suspicious.