Skip to content

Commit 7cdda8d

Browse files
committed
Only load Virtualenv plugin for python files.
Since Virtualenv is only used for python project (at least for me) it doesn't make sense to load that plugin when I'm not editing a python file.
1 parent 9cb5a8f commit 7cdda8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vimrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ silent! if plug#begin('~/.vim/plugged')
9797
Plug 'junegunn/vim-github-dashboard' " Github dashboard integration
9898
Plug 'glts/vim-textobj-comment' " add ic, ac and aC for comment text objects
9999
Plug 'davidhalter/jedi-vim', { 'for': 'python' } " Python completion
100-
Plug 'jmcantrell/vim-virtualenv' " Plugin to make Vim recognize the virtualenv it's being running into
100+
Plug 'jmcantrell/vim-virtualenv', { 'for': 'python' } " Plugin to make Vim recognize the virtualenv it's being running into
101101
Plug 'sukima/xmledit' " xml like helpers
102102
" Plug 'Shougo/neocomplete.vim'
103103

0 commit comments

Comments
 (0)