aboutsummaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-01-17 23:50:49 +0800
committerjdhao <jdhao@hotmail.com>2021-01-17 23:50:49 +0800
commit499f0a78c1c6fed411d783021d46a2002b9690d2 (patch)
treefd36dd5a8180def39121a6b807801e4739f619a6 /after
parent84ddd0c5f6f509d3997668dfb902bfe8b04e6ecf (diff)
Use two spaces per tab for YAML
Diffstat (limited to 'after')
-rw-r--r--after/ftplugin/yaml.vim5
1 files changed, 5 insertions, 0 deletions
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