diff --git a/config/nvim/init.vim b/config/nvim/init.vim index c98ef34..0388074 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -51,6 +51,7 @@ autocmd BufRead,BufNewFile *.h,*.c,*.cpp, set tabstop=8 shiftwidth=8 expandtab autocmd BufRead,BufNewFile *.cs,*.java set tabstop=4 shiftwidth=4 expandtab autocmd BufRead,BufNewFile *.go set tabstop=8 shiftwidth=8 noexpandtab autocmd BufRead,BufNewFile *.asm set filetype=nasm +autocmd FileType crontab set backupcopy=yes function TrimTrailingInvisibles() let view = winsaveview()