diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-06-11 10:47:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-06-11 10:47:09 +1200 |
commit | 2474ac7fe0e287da70c1ccf1b9900df630be2b75 (patch) | |
tree | c07203bb3e1c6041d2c73ab8163d7bb8e07727fd | |
parent | Merge branch 'release/v9.21.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-9.22.0.tar.gz (sig) dotfiles-9.22.0.zip |
Merge branch 'release/v9.22.0'v9.22.0
* release/v9.22.0:
Add 'spelloptions' `camel` flag in Vim
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/vimrc | 13 |
2 files changed, 14 insertions, 3 deletions
@@ -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 @@ -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). +" +" <https://github.com/vim/vim/releases/tag/v8.2.0953> +" +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, |