summaryrefslogtreecommitdiffstats
path: root/after/ftplugin/yaml.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-12-31 18:34:53 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2015-12-31 18:34:53 +0100
commitf8a0fb37bf57fdf705747cc3aacbe50b6b2d6482 (patch)
tree186ac68e30d47f2acfab552620001f5d2887e5bf /after/ftplugin/yaml.vim
parent13fe6ad75841ac9e4aeffb4d62fb6a491011cbce (diff)
downloadvim-polyglot-2.6.0.tar.gz
vim-polyglot-2.6.0.zip
Add better yaml syntax, closes #99v2.6.0
Diffstat (limited to 'after/ftplugin/yaml.vim')
-rw-r--r--after/ftplugin/yaml.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/after/ftplugin/yaml.vim b/after/ftplugin/yaml.vim
new file mode 100644
index 00000000..047641dc
--- /dev/null
+++ b/after/ftplugin/yaml.vim
@@ -0,0 +1,11 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'yaml') == -1
+
+" Vim indent file
+" Language: Yaml
+" Author: Henrique Barcelos
+" Date: 2014-10-08
+" URL: https://github.com/hjpbarcelos
+setlocal autoindent sw=2 ts=2 expandtab
+" vim:set sw=2:
+
+endif