From fc300feddbf38750e3c73bee64101fcaa397f47d Mon Sep 17 00:00:00 2001 From: Curtis 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(+) 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