Permalink
Browse files

neocomplcache: continue when using sudo

  • Loading branch information...
1 parent 8b00fb6 commit 178c65e53997dfee46e22d336eef5fb0d8d8c9b0 @lilydjwg committed Apr 15, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 plugin/neocomplcache.vim
View
@@ -31,11 +31,6 @@ if exists('g:loaded_neocomplcache')
elseif v:version < 702
echoerr 'neocomplcache does not work this version of Vim (' . v:version . ').'
finish
-elseif $SUDO_USER != '' && $USER !=# $SUDO_USER
- \ && $HOME !=# expand('~'.$USER)
- echoerr '"sudo vim" and $HOME is not same to /root are detected.'
- \.'Please use sudo.vim plugin instead of sudo command or set always_set_home in sudoers.'
- finish
endif
let s:save_cpo = &cpo

0 comments on commit 178c65e

Please sign in to comment.