aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 1929e74c..7f901d64 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -103,6 +103,9 @@ endif
" older versions of Vim, forbid that character. I haven't found the exact
" patch level that this was fixed yet, nor the true reason for the bug.
"
+" If either of these conditions are meant, throw an error and blank the MYVIM
+" variable so that nothing uses it.
+"
if $MYVIM =~# ','
echoerr 'Illegal comma in user runtime path'
let $MYVIM = ''