aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-07-06 10:56:40 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-07-06 10:56:40 +1200
commita8bbabce94d256fbb9280bdb37693e0f441408a0 (patch)
tree9a33a588cf5f028b247b83e665a1122e5af7b830 /vim/vimrc
parentMerge branch 'release/v6.49.0' into develop (diff)
downloaddotfiles-a8bbabce94d256fbb9280bdb37693e0f441408a0.tar.gz
dotfiles-a8bbabce94d256fbb9280bdb37693e0f441408a0.zip
Translate a :let-& call into a :set= one
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 1f5f1743..1b6e61a5 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -436,10 +436,7 @@ let &isfname = s:isfname
" of a sentence. This means that we could make abbreviations like "i.e.
" something" without flagging "something" as a spelling error.
"
-" We use :let syntax rather than :set here, just to avoid a whole bunch of
-" annoying escaping for the value.
-"
-let &spellcapcheck = '[.?!]\%( \|[\n\r\t]\)'
+set spellcapcheck=[.?!]\\%(\ \ \\\|[\\n\\r\\t]\\)
" For word completion in insert mode with CTRL-X CTRL-K, or if 'complete'
" includes the ‘k’ flag, the 'dictionary' option specifies the path to the