1
0
mirror of https://github.com/ostreedev/ostree.git synced 2025-01-09 01:18:35 +03:00
ostree/.vimrc
Jonathan Lebon a0588c3102 Add a .vimrc and .editorconfig
The `.vimrc` requires the `exrc` option to be turned on, and
`.editorconfig` requires https://github.com/editorconfig/editorconfig-vim
apparently.

Closes: 
Approved by: cgwalters
2017-09-21 22:03:11 +00:00

13 lines
308 B
VimL

set expandtab
set tabstop=8
set softtabstop=2
set shiftwidth=2
" Let's try to not go longer than 92
set textwidth=92
autocmd BufNewFile,BufRead *.c,*.h set textwidth=92
" This is the same as the default minus 0{, which is really annoying otherwise
" with our coding style.
set cinkeys=0},0),:,0#,!^F,o,O,e