Skip to content

Errors on v:true and v:false #15

@marcopolo4k

Description

@marcopolo4k

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions