aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-06 23:30:09 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-06 23:30:09 +1200
commit80c9bdc87cf4cb52062ebcf8439e70b781626732 (patch)
tree57caaeee48bfdc6cef09b791a635e93d6b15743e
parentCorrect 'shiftwidth' value in Makefiles (diff)
downloaddotfiles-80c9bdc87cf4cb52062ebcf8439e70b781626732.tar.gz
dotfiles-80c9bdc87cf4cb52062ebcf8439e70b781626732.zip
Add a 'dictionary' path
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index f2ec6de8..1094a838 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -55,6 +55,9 @@ set confirm
" Sentence objects are separated by two spaces
set cpoptions+=J
+" Specify where to look for a dictionary even if 'spell' isn't on
+set dictionary^=/usr/share/dict/words
+
" Keep swap files in dedicated directory, named with full path
execute 'set directory^='.vimrc#EscapeSetPart($MYVIM.'/cache/swap//')