summary refs log tree commit diff
path: root/.config/nvim
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 /.config/nvim
parentClean up error handling in pbd (diff)
downloadsrc-d3a0ce5e57a19e5100f7374df9c7c27f171a1c19.tar.gz
src-d3a0ce5e57a19e5100f7374df9c7c27f171a1c19.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()
1/htagml.1?id=3e7ffc868d1105740ad3a5b3bf8ee721f47485a7&follow=1'>Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe neovim is laggy as hell in my OpenBSD VM, so I switched to vi so I could type without getting frustrated. 2021-01-09Add c -t flag to print expression typeJune McEnroe Also add missing float case. 2021-01-05Update taglineJune McEnroe