special indent for yaml files
This commit is contained in:
parent
d6d14bd4f7
commit
489146b43e
1 changed files with 9 additions and 0 deletions
|
@ -50,6 +50,15 @@ augroup qf
|
|||
autocmd FileType qf set nobuflisted
|
||||
augroup END
|
||||
|
||||
augroup filetype_yaml
|
||||
autocmd!
|
||||
autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent
|
||||
autocmd FileType yaml |
|
||||
setlocal shiftwidth=2 |
|
||||
setlocal softtabstop=2 |
|
||||
setlocal tabstop=2
|
||||
augroup END
|
||||
|
||||
" vimdiff
|
||||
set diffopt+=iwhite
|
||||
set diffexpr=""
|
||||
|
|
Loading…
Reference in a new issue