summary refs log tree commit diff
path: root/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <curtis.mcenroe@adgear.com>2016-09-20 09:56:30 -0400
committerJune McEnroe <curtis.mcenroe@adgear.com>2016-09-20 09:56:30 -0400
commitfc300feddbf38750e3c73bee64101fcaa397f47d (patch)
treea7a7318d11974ff680319de4298a7aba6ae2c523 /.config/nvim
parentClean up error handling in pbd (diff)
downloadsrc-fc300feddbf38750e3c73bee64101fcaa397f47d.tar.gz
src-fc300feddbf38750e3c73bee64101fcaa397f47d.zip
Set shiftwidth=4 for C
Diffstat (limited to '.config/nvim')
-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()