From d3a0ce5e57a19e5100f7374df9c7c27f171a1c19 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 20 Sep 2016 09:56:30 -0400 Subject: Set shiftwidth=4 for C --- .config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 99dc979a..8d56ecf1 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -18,5 +18,6 @@ nmap :nohlsearch colorscheme lame autocmd BufNewFile,BufRead *.asm,*.mac setf nasm +autocmd FileType c setlocal shiftwidth=4 execute pathogen#infect() -- cgit 1.4.1