mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
vim: attempt to improve yaml auto-indent
Hopefully this should prevent auto-indent when hitting <CR> after inserting a :. Whether it works or not, we'll have to see. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
35d08af7ce
commit
20f48e25b4
@ -303,6 +303,7 @@ cmap w!! w !sudo tee > /dev/null %
|
||||
" Unmap ex-mode
|
||||
map Q <nop>
|
||||
|
||||
|
||||
autocmd FileType markdown setlocal ts=2 sts=2 sw=2 et
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 et
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 et indentkeys-=<:>
|
||||
autocmd FileType gitcommit setlocal cc=72 et sw=4
|
||||
|
Loading…
Reference in New Issue
Block a user