neovim/contrib/vim-addon-local-vimrc/vimrc

12 lines
326 B
VimL
Raw Normal View History

2014-03-12 09:12:24 -07:00
set modelines=0
augroup LOCAL_SETUP
autocmd!
autocmd BufRead,BufNewFile *.h set filetype=c
autocmd FileType c setlocal expandtab
autocmd FileType c setlocal shiftwidth=2
autocmd FileType c setlocal softtabstop=2
autocmd FileType c setlocal textwidth=80
autocmd FileType c setlocal comments=:///,://
augroup end