2019-08-22 12:05:42 +00:00
|
|
|
function! StripSpecialM() abort
|
2019-08-22 12:12:09 +00:00
|
|
|
:%s/
$//e
|
2019-08-22 12:05:42 +00:00
|
|
|
endfunction
|
|
|
|
|
2019-08-22 12:06:37 +00:00
|
|
|
augroup RemoveSpecialM
|
2019-08-22 12:05:42 +00:00
|
|
|
autocmd BufWritePre <buffer> call StripSpecialM()
|
2019-08-22 11:50:30 +00:00
|
|
|
augroup END
|
2019-08-22 12:05:42 +00:00
|
|
|
|