From 1bb367755fa6092d209723944604a1c02da2fb25 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 11 Jun 2020 10:42:27 +1200 Subject: Add 'spelloptions' `camel` flag in Vim --- vim/vimrc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 4526dbc1..f276cb92 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -2,7 +2,7 @@ " Tom Ryder (tejr)’s Literate Vimrc " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ " -" Last updated: Sun, 07 Jun 2020 23:23:04 UTC +" Last updated: Wed, 10 Jun 2020 22:41:57 UTC " " │ And I was lifted up in heart, and thought " │ Of all my late-shown prowess in the lists, @@ -401,6 +401,17 @@ set spelllang=en_nz " set spellcapcheck=[.?!]\\%(\ \ \\\|[\\n\\r\\t]\\) +" When spell-checking snakeCased or CamelCased words, treat every upper-case +" character in a word text object as the beginning of a new word for separate +" spell-checking. At the time of writing, this is still a very new option +" (v8.2.0953, June 2020). +" +" +" +if exists('+spelloptions') + set spelloptions+=camel +endif + " 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 " system word list. This makes the dictionary completion work consistently, -- cgit v1.2.3 From 58a380c4abe6d41c89689fa2d87b385ade40c42e Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 11 Jun 2020 10:47:06 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 34b72f60..ce5562d8 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v9.21.0 -Wed, 10 Jun 2020 11:06:21 +0000 +tejr dotfiles v9.22.0 +Wed, 10 Jun 2020 22:47:06 +0000 -- cgit v1.2.3