From 7706eefde4f88fdbecd1162c6866dd0da574b635 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 9 Jun 2019 23:14:14 +1200 Subject: Explain behaviour of malformed MYVIM --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) 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 = '' -- cgit v1.2.3