From e5b9073f4577a184e15fbabc09d298c23eeeb46b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20M=C3=A4der?= <maeder@phys.ethz.ch> Date: Fri, 7 Oct 2022 10:55:22 +0200 Subject: [PATCH] Fix vim yaml auto indent with colon --- profile/rda/.vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profile/rda/.vimrc b/profile/rda/.vimrc index 9e560f7..925495f 100644 --- a/profile/rda/.vimrc +++ b/profile/rda/.vimrc @@ -279,6 +279,8 @@ endfunction " --- ansible ---{{{ let g:ansible_unindent_after_newline = 1 +"do not auto indent when writing ':' +autocmd FileType yaml.ansible setlocal indentkeys-=<:> "}}} " --- python-mode ---{{{ -- GitLab