diff options
| author | jdhao <jdhao@hotmail.com> | 2021-01-17 23:50:49 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-01-17 23:54:21 +0800 |
| commit | dd52249a17d91eb1efb37572e950a5c917585498 (patch) | |
| tree | 8b1c660bd5405b7d00516105611acf7ee818605a /after | |
| parent | 84ddd0c5f6f509d3997668dfb902bfe8b04e6ecf (diff) | |
Use two spaces per tab for YAML
Diffstat (limited to 'after')
| -rw-r--r-- | after/ftplugin/yaml.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/after/ftplugin/yaml.vim b/after/ftplugin/yaml.vim new file mode 100644 index 0000000..46e9ccd --- /dev/null +++ b/after/ftplugin/yaml.vim @@ -0,0 +1,4 @@ +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 |
