From 499f0a78c1c6fed411d783021d46a2002b9690d2 Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 17 Jan 2021 23:50:49 +0800 Subject: [PATCH] Use two spaces per tab for YAML --- after/ftplugin/yaml.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 after/ftplugin/yaml.vim diff --git a/after/ftplugin/yaml.vim b/after/ftplugin/yaml.vim new file mode 100644 index 0000000..0936405 --- /dev/null +++ b/after/ftplugin/yaml.vim @@ -0,0 +1,5 @@ + +set tabstop=2 " number of visual spaces per TAB +set softtabstop=2 " number of spaces in tab when editing +set shiftwidth=2 " number of spaces to use for autoindent +set expandtab " expand tab to spaces so that tabs are spaces