summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-09-20 09:56:30 -0400
committerJune McEnroe <june@causal.agency>2016-09-20 09:56:30 -0400
commitd3a0ce5e57a19e5100f7374df9c7c27f171a1c19 (patch)
treefc3befdf4ab5a19d6dd4fee8e60860af84fa6172
parentClean up error handling in pbd (diff)
downloadsrc-d3a0ce5e57a19e5100f7374df9c7c27f171a1c19.tar.gz
src-d3a0ce5e57a19e5100f7374df9c7c27f171a1c19.zip
Set shiftwidth=4 for C
-rw-r--r--.config/nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
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 <leader><leader> :nohlsearch<CR>
 colorscheme lame
 
 autocmd BufNewFile,BufRead *.asm,*.mac setf nasm
+autocmd FileType c setlocal shiftwidth=4
 
 execute pathogen#infect()