From 164ca21b714e66e5cd92b87bd116714a43faf83f Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 2 Dec 2014 12:22:50 +0900 Subject: [PATCH] Fixing argument wrapping --- autoload/argwrap.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/argwrap.vim b/autoload/argwrap.vim index dcb3a43..75f32c4 100644 --- a/autoload/argwrap.vim +++ b/autoload/argwrap.vim @@ -83,7 +83,7 @@ function! argwrap#extractContainerArgText(range) if l:extractStart < l:extractEnd let l:extract = l:lineText[l:extractStart : l:extractEnd - 1] - let l:extract = substitute(l:extract, '^\\s\\+', '', 'g') + let l:extract = substitute(l:extract, '^\s\+', '', 'g') let l:extract = substitute(l:extract, ',$', ', ', 'g') let l:text .= l:extract endif