summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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()