From aecf1196eb453493667d52053963c52ba00e7d08 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 27 Jun 2019 08:54:53 +1200 Subject: Flatten function --- vim/vimrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index cf2bc8a6..6032d01a 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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) -- cgit v1.2.3