From 191d8617e2d0391283f69ae4d8a8e7ee1a4c718e Mon Sep 17 00:00:00 2001 From: Amy <58243358+aymey@users.noreply.github.com> Date: Sun, 29 Jan 2023 03:21:14 +1100 Subject: [PATCH] remove adding newline (#1257) eol is set on by default --- .config/nvim/init.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d8aaf5e..5c397f0 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -117,7 +117,6 @@ set noshowcmd autocmd BufWritePre * let currPos = getpos(".") autocmd BufWritePre * %s/\s\+$//e autocmd BufWritePre * %s/\n\+\%$//e - autocmd BufWritePre *.[ch] %s/\%$/\r/e autocmd BufWritePre * cal cursor(currPos[1], currPos[2]) " When shortcut files are updated, renew bash and ranger configs with new material: