commit 9b75bb598c8c4b8b37a240d79b08c6545091ef41 parent 655004a0d86e007025baec698c6abf258bb7f315 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Mon, 27 Apr 2020 16:29:00 +0200 vim: indent yaml with 4 spaces by default Former-commit-id: bb52536e4cfb23552fe8d90c704daeb168f2450e Diffstat:
A | vim/after/ftplugin/yaml.vim | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/vim/after/ftplugin/yaml.vim b/vim/after/ftplugin/yaml.vim @@ -0,0 +1,6 @@ +setlocal shiftwidth=4 tabstop=4 softtabstop=4 expandtab +if exists('b:undo_ftplugin') + let b:undo_ftplugin .= '| shiftwidth< tabstop< softtabstop< expandtab<' +else + let b:undo_ftplugin = '| shiftwidth< tabstop< softtabstop< expandtab<' +endif