From a8bbabce94d256fbb9280bdb37693e0f441408a0 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 6 Jul 2019 10:56:40 +1200 Subject: Translate a :let-& call into a :set= one --- vim/vimrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'vim/vimrc') 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 -- cgit v1.2.3