diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-08 20:41:14 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-08 20:41:14 +1200 |
commit | 0d9d766ceb0c6111c28f67d11171c7f082b1de58 (patch) | |
tree | 5e4d4b704135f45fd0d4112eb40e84221127d1ec | |
parent | Remove unneeded qualifier (diff) | |
download | dotfiles-0d9d766ceb0c6111c28f67d11171c7f082b1de58.tar.gz dotfiles-0d9d766ceb0c6111c28f67d11171c7f082b1de58.zip |
Explain the choice of a 'runtimepath' split func
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -37,7 +37,9 @@ if !exists('$MYVIM') && &runtimepath !=# '' " We'll use the first path specified in 'runtimepath', rather like Vim " itself does for spelling database files in the absence of a setting for - " 'spellfile'. + " 'spellfile'. Splitting the values of an option like 'runtimepath' is + " a bit more complicated than it looks; we defer it to an autoloaded utility + " function for clarity. " let s:runtimepath_paths = vimrc#SplitOption(&runtimepath) let $MYVIM = s:runtimepath_paths[0] |