Better handling of spaces during unwrapping.
This commit is contained in:
parent
93284608cc
commit
a899077bf5
@ -82,7 +82,8 @@ function! argwrap#extractContainerArgText(range)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if l:extractStart < l:extractEnd
|
if l:extractStart < l:extractEnd
|
||||||
let l:text .= l:lineText[l:extractStart : l:extractEnd - 1]
|
let l:extract = l:lineText[l:extractStart : l:extractEnd - 1]
|
||||||
|
let l:text .= substitute(l:extract, '^\s*\(.\{-}\)\s*$', '\1 ', '')
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user