Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

neocomplcache: continue when using sudo

  • Loading branch information...
commit 178c65e53997dfee46e22d336eef5fb0d8d8c9b0 1 parent 8b00fb6
@lilydjwg authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 plugin/neocomplcache.vim
View
5 plugin/neocomplcache.vim
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.