Fixing argument wrapping
This commit is contained in:
parent
a5f67f6213
commit
164ca21b71
@ -83,7 +83,7 @@ function! argwrap#extractContainerArgText(range)
|
|||||||
|
|
||||||
if l:extractStart < l:extractEnd
|
if l:extractStart < l:extractEnd
|
||||||
let l:extract = l:lineText[l:extractStart : l:extractEnd - 1]
|
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:extract = substitute(l:extract, ',$', ', ', 'g')
|
||||||
let l:text .= l:extract
|
let l:text .= l:extract
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user