remove remaining spaces at the end of the line after unwrapping

This commit is contained in:
Camille Dejoye 2020-11-21 10:25:27 +01:00
parent 2c997ed781
commit 8585d3f256

View File

@ -36,18 +36,18 @@ function! s:fixMethodOpeningBraceAfterUnwrap(range, container, arguments) abort
return return
endif endif
execute printf("undojoin | normal! %dG$F{i\<CR>", a:range.lineStart) execute printf("undojoin | normal! %dG$F{gelct{\<CR>", a:range.lineStart)
endfunction " }}} endfunction " }}}
function! argwrap#hooks#filetype#php#200_smart_brace#pre_wrap(range, container, arguments) abort " {{{ function! argwrap#hooks#filetype#php#200_smart_brace#pre_wrap(range, container, arguments) abort " {{{
" Do nothing but prevent the file to be loaded more than once " Do nothing but prevent the file to be loaded more than once
" When calling an autoload function that is not define the script that " When calling an autoload function that is not define, the script that
" should contain it is sourced every time the function is called " should contain it is sourced every time the function is called
endfunction " }}} endfunction " }}}
function! argwrap#hooks#filetype#php#200_smart_brace#pre_unwrap(range, container, arguments) abort " {{{ function! argwrap#hooks#filetype#php#200_smart_brace#pre_unwrap(range, container, arguments) abort " {{{
" Do nothing but prevent the file to be loaded more than once " Do nothing but prevent the file to be loaded more than once
" When calling an autoload function that is not define the script that " When calling an autoload function that is not define, the script that
" should contain it is sourced every time the function is called " should contain it is sourced every time the function is called
endfunction " }}} endfunction " }}}