diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-25 01:04:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-25 01:04:25 +1200 |
commit | c5da3076fb4023e2163bcd45194b316e69de27d3 (patch) | |
tree | cbc8a094e8c894b970e263beb0be60ec8e6cbcac | |
parent | Merge branch 'release/v6.45.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-c5da3076fb4023e2163bcd45194b316e69de27d3.tar.gz dotfiles-c5da3076fb4023e2163bcd45194b316e69de27d3.zip |
Merge branch 'release/v6.46.0'v6.46.0
* release/v6.46.0:
Use nicer syntax for item-per-line lists
Correct two typos
Correct a word in a comment
Use simpler method to get first part of &spelllang
Add missing character to &runtimepath substitute
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/vimrc | 16 |
2 files changed, 10 insertions, 10 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v6.45.0 -Sun, 23 Jun 2019 23:33:10 +0000 +tejr dotfiles v6.46.0 +Mon, 24 Jun 2019 13:04:23 +0000 @@ -104,8 +104,8 @@ scriptencoding utf-8 " if !exists('$MYVIM') let $MYVIM = map( - \ split(&runtimepath, '\\\@<!,[, ]*') - \,'substitute(v:val, ''\\,'', '''', ''g'')' + \ split(&runtimepath, '\\\@<!,[, ]*'), + \ 'substitute(v:val, ''\\,'', '','', ''g'')', \)[0] endif @@ -406,19 +406,19 @@ endif set spelllang=en_nz Establish $MYVIM/cache/spell let &spellfile = $MYVIM.'/cache/spell/'.join([ - \ substitute(&spelllang, '_.*', '', '') - \,&encoding - \,'add' + \ split(&spelllang, '_')[0], + \ &encoding, + \ 'add', \], '.') -" Spell checking includes optional support for catching lowercase letters at +" Spell checking includes optional support for catching lower case letters at " the start of sentences, and defines a pattern in 'spellcapcheck' for the end " of a sentence. The default is pretty good, but with two-spacing with " 'cpoptions' including 'J' and 'formatoptions' including 'p' as set later in -" this file, we can be less ambiguous in this pattern. We requre two +" this file, we can be less ambiguous in this pattern. We require two " consecutive spaces, a newline, a carriage return, or a tab to mark the end " of a sentence. This means that we could make abbreviations like "i.e. -" something" without flatting "something" as a spelling error. +" 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. |