aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION4
-rw-r--r--vim/vimrc16
2 files changed, 10 insertions, 10 deletions
diff --git a/VERSION b/VERSION
index ea7e007a..68177cfc 100644
--- a/VERSION
+++ b/VERSION
@@ -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
diff --git a/vim/vimrc b/vim/vimrc
index 8413ce7c..a4bccf7c 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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.