From a51cba994560e2d6c7eb6d506156685dc7c05301 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Wed, 17 May 2017 08:23:12 -0700 Subject: [PATCH] Fix crontab editing --- config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) 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()