diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-09 23:15:59 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-09 23:15:59 +1200 |
commit | 64bd14e1d7bd2f272371c2b90bdc73704e730f2b (patch) | |
tree | 9f832198095a802cb481565390a9596eb3dfaa39 | |
parent | Explain 'dictionary' approach (diff) | |
download | dotfiles-64bd14e1d7bd2f272371c2b90bdc73704e730f2b.tar.gz dotfiles-64bd14e1d7bd2f272371c2b90bdc73704e730f2b.zip |
Add P_NDNAME exclusion checks to 'dict' and 'tsr'
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |