Improved trimming around = and : characters
This commit is contained in:
parent
a25bb6ad76
commit
93284608cc
@ -102,7 +102,8 @@ endfunction
|
||||
|
||||
function! argwrap#trimArgument(text)
|
||||
let l:trim = substitute(a:text, '^\s*\(.\{-}\)\s*$', '\1', '')
|
||||
return substitute(l:trim, '\([:=]\)\s\{2,}', '\1 ', '')
|
||||
let l:trim = substitute(l:trim, '\([:=]\)\s\{2,}', '\1 ', '')
|
||||
return substitute(l:trim, '\s\{2,}\([:=]\)', ' \1', '')
|
||||
endfunction
|
||||
|
||||
function! argwrap#extractContainerArgs(text)
|
||||
|
Loading…
Reference in New Issue
Block a user