summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <florian.pritz@rise-world.com>2019-04-08 13:16:34 +0200
committerFlorian Pritz <bluewind@xinu.at>2019-04-13 19:30:51 +0200
commit87d629df22da0b05ff673e6f24aa7a2b8137febb (patch)
tree824cd4ad361a013774537747efa5597f4bcc7f15
parentcef26e3a6552ae7715caa750495f6265d7e1a7ca (diff)
downloaddotfiles-87d629df22da0b05ff673e6f24aa7a2b8137febb.tar.gz
dotfiles-87d629df22da0b05ff673e6f24aa7a2b8137febb.tar.xz
vimrc: Set tabstop=2 for YAML
Signed-off-by: Florian Pritz <florian.pritz@rise-world.com>
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index ee14cc4..285f7d0 100644
--- a/.vimrc
+++ b/.vimrc
@@ -354,6 +354,8 @@ autocmd FileType python set foldmethod=indent
autocmd FileType python set foldlevelstart=2 foldnestmax=2
autocmd FileType python set ts=4 sw=4 softtabstop=4 et
+autocmd FileType yaml set ts=2 sw=2 softtabstop=2 et
+
" misc autocmd settings
autocmd FileType make setlocal noexpandtab
autocmd FileType text setlocal textwidth=78