aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 71e1179e..1267e283 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -439,7 +439,7 @@ set cpoptions+=J
" it doesn't.
"
set dictionary^=/usr/share/dict/words
-if $MYVIM !=# ''
+if $MYVIM !=# '' && $MYVIM !=~ '[*?[|;&<>\r\n]'
set dictionary^=$MYVIM/ref/dictionary.txt
endif
@@ -697,7 +697,7 @@ set synmaxcol=500
" first two metadata lines from thesaurus.txt, as Vim appeared to interpet
" them as part of the body data.
"
-if $MYVIM !=# ''
+if $MYVIM !=# '' && $MYVIM !=~ '[*?[|;&<>\r\n]'
set thesaurus^=$MYVIM/ref/thesaurus.txt
endif