Skip to content

Commit

Permalink
disable ftpdev on _vimrc (windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Mar 11, 2013
1 parent b8adf1b commit 81ebc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/vim_ftpdev.vim
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if !exists("b:ftplugin_dir")
if !exists("b:ftplugin_installdir")
let b:ftplugin_installdir = ''
endif
elseif expand("%:p:h:h") == '/' || expand("%:p:h:h") == $HOME
elseif expand("%:p:h:h") == '/' || expand("%:p:h:h") == $HOME || expand('%:t') =~ '\(\.\|_\)vimrc$'
let b:ftplugin_dir = ''
if !exists("b:ftplugin_installdir")
let b:ftplugin_installdir = ''
Expand Down

0 comments on commit 81ebc42

Please sign in to comment.