Shougo / unite.vim

:dragon: Unite and create user interfaces
http://www.vim.org/scripts/script.php?script_id=3396
Other
2.85k stars 223 forks source link

Undefined variable: g:mapleader #1244

Closed bitshiftnetau closed 5 years ago

bitshiftnetau commented 5 years ago

This happens everytime I open vim or neovim as root or user:

Error detected while processing /home/access/.vim/plugged/neojs/plugin/unite.vim: line 10: E121: Undefined variable: g:mapleader E15: Invalid expression: g:mapleader line 16: E117: Unknown function: unite#custom#profile

Environment Information

output from :version

VIM - Vi IMproved 8.1 (2018 May 18, compiled Nov 22 2018 19:40:14) Included patches: 1-542 Compiled by Arch Linux Huge version without GUI. Features included (+) or not (-): +acl +cmdline_info +farsi +libcall -mouse_sysmouse +python3/dyn +termguicolors +wildignore +arabic +comments +file_in_path +linebreak +mouse_urxvt +quickfix +terminal +wildmenu +autocmd +conceal +find_in_path +lispindent +mouse_xterm +reltime +terminfo +windows +autochdir +cryptv +float +listcmds +multi_byte +rightleft +termresponse +writebackup -autoservername +cscope +folding +localmap +multi_lang +ruby/dyn +textobjects -X11 -balloon_eval +cursorbind -footer +lua/dyn -mzscheme +scrollbind +timers -xfontset +balloon_eval_term +cursorshape +fork() +menu +netbeans_intg +signs +title -xim -browse +dialog_con +gettext +mksession +num64 +smartindent -toolbar -xpm ++builtin_terms +diff -hangul_input +modify_fname +packages +startuptime +user_commands -xsmp +byte_offset +digraphs +iconv +mouse +path_extra +statusline +vartabs -xterm_clipboard +channel -dnd +insert_expand -mouseshape +perl/dyn -sun_workshop +vertsplit -xterm_save +cindent -ebcdic +job +mouse_dec +persistent_undo +syntax +virtualedit -clientserver +emacs_tags +jumplist +mouse_gpm +postscript +tag_binary +visual -clipboard +eval +keymap -mouse_jsbterm +printer +tag_old_static +visualextra +cmdline_compl +ex_extra +lambda +mouse_netterm +profile -tag_any_white +viminfo +cmdline_hist +extra_search +langmap +mouse_sgr +python/dyn +tcl/dyn +vreplace 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 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -U_FORTIFY_SOU RCE -D_FORTIFY_SOURCE=1 Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.28/cor e_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/local/lib -Wl,--as-needed -o vim -lm -ltinfo -lelf -lnsl -lacl -lattr -lgpm -l dl -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.28/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -L/usr/local/lib -L/usr/ lib/perl5/5.28/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm

Shougo commented 5 years ago

It is neojs plugin's issue.

https://github.com/vimlab/neojs

bitshiftnetau commented 5 years ago

Cool. Ill hit em up. Cheers man.

On Mon, 10 Dec 2018, 11:04 Shougo <notifications@github.com wrote:

It is neojs plugin's issue.

https://github.com/vimlab/neojs

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Shougo/unite.vim/issues/1244#issuecomment-445587983, or mute the thread https://github.com/notifications/unsubscribe-auth/AZoHMFbeU9eas9Ye31IljEF7sk2vEAKzks5u3aT_gaJpZM4ZKA-p .