diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |