Remove autocmd to right string white space
This commit is contained in:
@@ -9,3 +9,12 @@ function! do#isort()
|
||||
call system('isort '.expand('%:p'))
|
||||
edit!
|
||||
endfunction
|
||||
|
||||
" TODO: Make do#rstrip_lines work on a range
|
||||
function! do#rstrip_lines()
|
||||
let l:line = line('.')
|
||||
let l:column = col('.')
|
||||
execute '%s/\s\+$//e'
|
||||
nohlsearch
|
||||
call cursor(l:line, l:column)
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user