diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-24 15:26:37 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-24 15:26:37 +1200 |
commit | 9e8f7a12f0ae15529105d423da16a2d24eebb123 (patch) | |
tree | d3d3c16f451a76587ed1656e88009d46c194c9f2 | |
parent | Remove per-system vimrc fixing (diff) | |
download | dotfiles-9e8f7a12f0ae15529105d423da16a2d24eebb123.tar.gz dotfiles-9e8f7a12f0ae15529105d423da16a2d24eebb123.zip |
Restore ternary syntax for $VIM setting
Can't make up my mind...
-rw-r--r-- | vim/vimrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3,11 +3,11 @@ " Set an environment variable for the user runtime directory if !exists('$MYVIM') - if has('win32') || has('win64') - let $MYVIM = expand('~/vimfiles') - else - let $MYVIM = expand('~/.vim') - endif + let $MYVIM = expand( + \ has('win32') || has('win64') + \ ? '~/vimfiles' + \ : '~/.vim' + \ ) endif " The all-important default indent settings; filetypes to tweak |