From e7a29aa9823026b33b7859dc4a312f37657c9aee Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 25 Jun 2019 00:25:15 +1200 Subject: Add missing character to &runtimepath substitute --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 8413ce7c..1f955871 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -105,7 +105,7 @@ scriptencoding utf-8 if !exists('$MYVIM') let $MYVIM = map( \ split(&runtimepath, '\\\@ Date: Tue, 25 Jun 2019 00:25:31 +1200 Subject: Use simpler method to get first part of &spelllang --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 1f955871..6dc685f8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -406,7 +406,7 @@ endif set spelllang=en_nz Establish $MYVIM/cache/spell let &spellfile = $MYVIM.'/cache/spell/'.join([ - \ substitute(&spelllang, '_.*', '', '') + \ split(&spelllang, '_')[0] \,&encoding \,'add' \], '.') -- cgit v1.2.3 From 0a3e8715e82880b4b8fa5432bd1c2dc07e09e439 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 25 Jun 2019 00:25:42 +1200 Subject: Correct a word in a comment --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 6dc685f8..f19f32ba 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -418,7 +418,7 @@ let &spellfile = $MYVIM.'/cache/spell/'.join([ " this file, we can be less ambiguous in this pattern. We requre 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. -- cgit v1.2.3 From 08cc3a6bf7a6f8e14575dfe8bb2223bb5731e7f0 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 25 Jun 2019 00:26:53 +1200 Subject: Correct two typos --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index f19f32ba..991bb79e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -411,11 +411,11 @@ let &spellfile = $MYVIM.'/cache/spell/'.join([ \,'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 flagging "something" as a spelling error. -- cgit v1.2.3 From 185016638f1eedc6bc55943d1292bea944d1e711 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 25 Jun 2019 00:35:19 +1200 Subject: Use nicer syntax for item-per-line lists --- vim/vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 991bb79e..a4bccf7c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -104,8 +104,8 @@ scriptencoding utf-8 " if !exists('$MYVIM') let $MYVIM = map( - \ split(&runtimepath, '\\\@ Date: Tue, 25 Jun 2019 01:04:23 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 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 -- cgit v1.2.3