fix(nvim): better yml indent rules
This commit is contained in:
parent
10301b43af
commit
f6796ec0a5
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ set nohidden
|
||||||
|
|
||||||
" Yaml Indent
|
" Yaml Indent
|
||||||
autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent
|
autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent
|
||||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab indentkeys-=0# indentkeys-=<:>
|
||||||
|
|
||||||
" Treat .hcl files like terraform files (used by hashivim/vim-terraform)
|
" Treat .hcl files like terraform files (used by hashivim/vim-terraform)
|
||||||
autocmd BufNewFile,BufReadPost *.hcl set filetype=terraform
|
autocmd BufNewFile,BufReadPost *.hcl set filetype=terraform
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue