vim/ftplugin/octobercms.vim

9 lines
145 B
VimL

function! StripSpecialM() abort
:%s/
$//e
endfunction
augroup RemoveSpecialM
autocmd BufWritePre <buffer> call StripSpecialM()
augroup END