diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-25 00:35:19 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-25 00:35:19 +1200 |
commit | 185016638f1eedc6bc55943d1292bea944d1e711 (patch) | |
tree | 5c60d5a071514994f90eb3608449bab5f40d2546 | |
parent | Correct two typos (diff) | |
download | dotfiles-185016638f1eedc6bc55943d1292bea944d1e711.tar.gz dotfiles-185016638f1eedc6bc55943d1292bea944d1e711.zip |
Use nicer syntax for item-per-line lists
-rw-r--r-- | vim/vimrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |