diff options
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -118,7 +118,8 @@ for s:xdgruntimepath in reverse(s:xdgruntimepaths) execute 'set runtimepath^=' \.option#Escape(option#item#Escape(s:xdgruntimepath)) endfor -unlet s:xdgruntimepaths s:xdgruntimepath +unlet! s:xdgruntimepath +unlet s:xdgruntimepaths " We need a command to reliably establish a full path, whether or not the " directories already exist. We create a wrapper for the autoloaded function @@ -411,7 +412,8 @@ try execute 'set thesaurus^=' \.option#Escape(option#item#Escape(s:refdir.'/thesaurus.txt')) endfor - unlet s:refdirs s:refdir + unlet! s:refdir + unlet s:refdirs catch /^Vim\%((\a\+)\)\=:E474:/ endtry |