From 34e78226576b86b1fab4a85a06b70d8880766878 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 21 May 2019 10:59:42 +1200 Subject: Revert "Try ternary operator for $MYVIMRUNTIME ... This reverts commit 94c8d6c527049984373d75c1f8910fe25f8736b4. Decided I don't like this after all. --- vim/vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vim') 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 -- cgit v1.2.3