diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -113,9 +113,10 @@ endif " first value from the 'runtimepath'. We'll use this later on in the file to " comprehensively match expected paths for vimrc files. " -if &runtimepath !=# '' - let $MYVIM = option#Split(&runtimepath)[0] +if &runtimepath ==# '' + throw 'Empty ''runtimepath''' endif +let $MYVIM = option#Split(&runtimepath)[0] " The next components of the runtime directory that we'll set up here will " make use of the user’s configured XDG base directories: |