mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
add .vimrc and src/.ycm_extra_conf.py
This commit is contained in:
committed by
Thiago de Arruda
parent
c3a88eb8ea
commit
7740bdecea
11
contrib/vim-addon-local-vimrc/vimrc
Normal file
11
contrib/vim-addon-local-vimrc/vimrc
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user