1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Use two spaces per tab for YAML

This commit is contained in:
jdhao 2021-01-17 23:50:49 +08:00
parent 84ddd0c5f6
commit 499f0a78c1

5
after/ftplugin/yaml.vim Normal file
View File

@ -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