mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: add ansible.yaml rules
This commit is contained in:
parent
9fe2ec17a6
commit
1b4c259c97
|
@ -31,6 +31,8 @@ set hlsearch "highlight search results (using *)
|
|||
|
||||
set shiftwidth=4 tabstop=4
|
||||
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||
au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
|
||||
|
||||
|
||||
" Return to last edit position when opening files (from amix's vimrc)
|
||||
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user