diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-27 08:54:53 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-07-01 09:43:38 +1200 |
commit | aecf1196eb453493667d52053963c52ba00e7d08 (patch) | |
tree | 01fb03597b6cfbfbcd37e8859b09db07aaaf1572 | |
parent | Factor out double-escape for opts into function (diff) | |
download | dotfiles-aecf1196eb453493667d52053963c52ba00e7d08.tar.gz dotfiles-aecf1196eb453493667d52053963c52ba00e7d08.zip |
Flatten function
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -9,9 +9,7 @@ function! s:OptionSplit(string) abort \) endfunction function! s:EscItemExec(string) abort - return escape(escape( - \ a:string, - \ ','), '\ %#|"') + return escape(escape(a:string, ','), '\ %#|"') endfunction if exists('$MYVIM') execute 'set runtimepath^='.s:EscItemExec($MYVIM) |