updated neovim state

This commit is contained in:
Paul 2024-01-13 13:27:10 +01:00
parent a9d5a8762d
commit eab8bf8904

View File

@ -22,12 +22,14 @@ syntax on
function! RemoveComments() function! RemoveComments()
"silent %s/\t/ /g "silent %s/\t/ /g
silent %s/ *#.*//g "silent %s/ *#.*//g
silent g/^#/d silent g/^#/d
silent g/^$/d silent g/^$/d
silent sort "silent sort
endfunction endfunction
command! RemoveComments call RemoveComments()
nnoremap <F9> :!%:p nnoremap <F9> :!%:p
if has("autocmd") if has("autocmd")