aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-21 10:59:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-21 10:59:42 +1200
commit34e78226576b86b1fab4a85a06b70d8880766878 (patch)
treeb990b8ee0ed3fd34214ebc7ee3dccfd3a28dae48 /vim
parentMerge branch 'release/v4.38.0' into develop (diff)
downloaddotfiles-34e78226576b86b1fab4a85a06b70d8880766878.tar.gz
dotfiles-34e78226576b86b1fab4a85a06b70d8880766878.zip
Revert "Try ternary operator for $MYVIMRUNTIME ...
This reverts commit 94c8d6c527049984373d75c1f8910fe25f8736b4. Decided I don't like this after all.
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 7932e1de..9950a1b7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -6,11 +6,11 @@ runtime system.vim
" Set an environment variable for the user runtime directory
if !exists('$MYVIMRUNTIME')
- let $MYVIMRUNTIME = expand(
- \ has('win32') || has('win64')
- \ ? '~/vimfiles'
- \ : '~/.vim'
- \ )
+ if has('win32') || has('win64')
+ let $MYVIMRUNTIME = expand('~/vimfiles')
+ else
+ let $MYVIMRUNTIME = expand('~/.vim')
+ endif
endif
" The all-important default indent settings; filetypes to tweak