aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-08 22:39:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-08 22:39:03 +1200
commite8a33c4c897da49027c742fd672d8d3d1c046aa8 (patch)
treea2fb783ab7c135538d63dedd5144d1996f1f3f6a
parentMove vimrc-reload-filetype back into vimrc (diff)
downloaddotfiles-e8a33c4c897da49027c742fd672d8d3d1c046aa8.tar.gz
dotfiles-e8a33c4c897da49027c742fd672d8d3d1c046aa8.zip
Refine detail on MYVIM comma termination
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 57b1c134..7a0bc22e 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -68,7 +68,8 @@ endif
" The path named in the MYVIM environment variable can't contain a comma
" anywhere, because its use in comma-separated option values will confuse Vim
" into thinking more than one directory is being specified for the option
-" value, per normal :set semantics. If it does, we refuse to proceed.
+" value, per normal :set semantics. If there's a comma, we raise an error and
+" end the script.
"
" It's possible to work around this with some careful escaping, either at :set
" time with an :execute abstraction or with a separate environment variable