diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-01-20 14:50:46 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-01-20 14:50:46 -0500 |
| commit | e7796b81d0b0e68e1370d21c31516f70442f436b (patch) | |
| tree | 9ff36bbe5afad55869c99d05f72bb566055df5c8 | |
| parent | eded46a39e72bc21984bb50945dc0bacdaa98cc6 (diff) | |
| parent | 09ba3e53f6c3e88f1a703104fc148b0da86a379f (diff) | |
| download | eibhear-e7796b81d0b0e68e1370d21c31516f70442f436b.tar.gz eibhear-e7796b81d0b0e68e1370d21c31516f70442f436b.tar.zst eibhear-e7796b81d0b0e68e1370d21c31516f70442f436b.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
| -rw-r--r-- | .config/nvim/init.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index bf982c1..65883d7 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -113,7 +113,8 @@ set noshowcmd " Automatically deletes all trailing whitespace and newlines at end of file on save. autocmd BufWritePre * %s/\s\+$//e - autocmd BufWritePre * %s/\n\+\%$//e + autocmd BufWritePre * %s/\n\+\%$//e + autocmd BufWritePre *.[ch] %s/\%$/\r/e " When shortcut files are updated, renew bash and ranger configs with new material: autocmd BufWritePost bm-files,bm-dirs !shortcuts |
