aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-25 00:35:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-25 00:35:19 +1200
commit185016638f1eedc6bc55943d1292bea944d1e711 (patch)
tree5c60d5a071514994f90eb3608449bab5f40d2546
parentCorrect two typos (diff)
downloaddotfiles-185016638f1eedc6bc55943d1292bea944d1e711.tar.gz
dotfiles-185016638f1eedc6bc55943d1292bea944d1e711.zip
Use nicer syntax for item-per-line lists
-rw-r--r--vim/vimrc10
1 files 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, '\\\@<!,[, ]*')
- \,'substitute(v:val, ''\\,'', '','', ''g'')'
+ \ split(&runtimepath, '\\\@<!,[, ]*'),
+ \ 'substitute(v:val, ''\\,'', '','', ''g'')',
\)[0]
endif
@@ -406,9 +406,9 @@ endif
set spelllang=en_nz
Establish $MYVIM/cache/spell
let &spellfile = $MYVIM.'/cache/spell/'.join([
- \ split(&spelllang, '_')[0]
- \,&encoding
- \,'add'
+ \ split(&spelllang, '_')[0],
+ \ &encoding,
+ \ 'add',
\], '.')
" Spell checking includes optional support for catching lower case letters at