mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
12 lines
326 B
VimL
12 lines
326 B
VimL
|
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
|