always use tabstop 2 on yaml

This commit is contained in:
lelgenio 2020-12-11 14:13:03 -03:00
parent 6d013de12e
commit 794c6e74f5
1 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,10 @@
set global tabstop 4
hook global BufOpenFile .*\.ya?ml %{
set buffer tabstop 2
}
{%@@ if tabs @@%}
#################################################################
# Tabs
@ -17,7 +21,6 @@ set global tabstop 4
# yaml is ass and does not allow tabs for indent
hook global BufOpenFile .*\.ya?ml %{
set buffer tabstop 2
execute-keys -draft '%s^\s*<ret><a-@>'
} -group kakrc-replace-spaces-with-tabs