From 40a9296126f1cc5502b5a9b6a2048fb52e1d36ec Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Thu, 3 Nov 2022 10:10:42 -0500 Subject: [PATCH] .vimrc: Use ft=yaml.ansible on more ansible-related files --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 079716b..7f07e0a 100644 --- a/.vimrc +++ b/.vimrc @@ -516,6 +516,9 @@ augroup vimrc_filetype " autofolds au FileType vim setlocal foldmethod=expr foldexpr=autofolds#foldexpr(v\:lnum) foldtext=autofolds#foldtext() foldlevel=2 au FileType sh setlocal foldmethod=expr foldexpr=autofolds#foldexpr(v\:lnum,'sh') foldtext=autofolds#foldtext() foldlevel=2 + " pearofducks/ansible-vim + au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible + au BufNewFile,BufRead hosts.ini set filetype=yaml.ansible augroup END " -------------------------------------------------------------------------- -- 2.47.1