Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins are not being loaded after restarting MacVim #923

Closed
7 tasks
chrismcbride opened this issue Jan 2, 2020 · 4 comments
Closed
7 tasks

Plugins are not being loaded after restarting MacVim #923

chrismcbride opened this issue Jan 2, 2020 · 4 comments

Comments

@chrismcbride
Copy link

Plugins are not being loaded after restarting MacVim

See full .gvimrc file here: https://gist.github.com/chrismcbride/ae688ba1b7d899432a09144933069062

When running :PlugInstall, all the plugins seem to work fine, but after quitting MacVim and relaunching it vimi can't find NERDtree, ctrlp, or vim airline commands. Running a :PlugStatus shows that all the plugins are ok, however I need to run :PlugInstall every time I launch for those plugins to work. I tried using Vundle too and I weirdly get the identical problem there. Just wondering if anyone has heard of this happening before.

VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 30 2019 11:57:56)
macOS version
Included patches: 1-2234
Compiled by [email protected]
Huge version with MacVim GUI.  Features included (+) or not (-):
+acl               +clientserver      +diff              +folding           +langmap           +mouse_dec         +num64             +reltime           +tag_binary        +toolbar           +windows
+arabic            +clipboard         +digraphs          -footer            +libcall           -mouse_gpm         +odbeditor         +rightleft         -tag_old_static    +transparency      +writebackup
+autocmd           +cmdline_compl     +dnd               +fork()            +linebreak         -mouse_jsbterm     +packages          +ruby/dyn          -tag_any_white     +user_commands     -X11
+autochdir         +cmdline_hist      -ebcdic            +fullscreen        +lispindent        +mouse_netterm     +path_extra        +scrollbind        -tcl               +vartabs           -xfontset
-autoservername    +cmdline_info      +emacs_tags        -gettext           +listcmds          +mouse_sgr         +perl/dyn          +signs             +termguicolors     +vertsplit         +xim
+balloon_eval      +comments          +eval              -hangul_input      +localmap          -mouse_sysmouse    +persistent_undo   +smartindent       +terminal          +virtualedit       -xpm
+balloon_eval_term +conceal           +ex_extra          +iconv             +lua/dyn           +mouse_urxvt       +postscript        -sound             +terminfo          +visual            -xsmp
+browse            +cryptv            +extra_search      +insert_expand     +menu              +mouse_xterm       +printer           +spell             +termresponse      +visualextra       -xterm_clipboard
++builtin_terms    +cscope            -farsi             +job               +mksession         +multi_byte        +profile           +startuptime       +textobjects       +viminfo           -xterm_save
+byte_offset       +cursorbind        +file_in_path      +jumplist          +modify_fname      +multi_lang        +python/dyn        +statusline        +textprop          +vreplace
+channel           +cursorshape       +find_in_path      +keymap            +mouse             -mzscheme          +python3/dyn       -sun_workshop      +timers            +wildignore
+cindent           +dialog_con_gui    +float             +lambda            +mouseshape        +netbeans_intg     +quickfix          +syntax            +title             +wildmenu
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe  -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/[email protected]/lib -L/usr/local/opt/readline/lib -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/l
ibyaml/lib -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv -framework AppKit   -fstack-protector  -L/System/Library
/Perl/5.18/darwin-thread-multi-2level/CORE 
  • Type:
    • [X ] Bug
    • Enhancement
    • Feature Request
    • [X ] Question
  • OS:
    • All/Other
    • Linux
    • [X ] OS X
    • Windows
  • Vim:
    • Terminal Vim
    • [X ] GVim
    • Neovim
@janlazo
Copy link
Contributor

janlazo commented Jan 2, 2020

@chrismcbride
Copy link
Author

same behavior sadly

@junegunn
Copy link
Owner

junegunn commented Jan 3, 2020

You should place the plug section in your .vimrc, not in .gvimrc.

See #540 for details.

@junegunn junegunn closed this as completed Jan 3, 2020
@chrismcbride
Copy link
Author

Ah that fixed it. Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants