summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-06 15:08:20 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-06 15:08:20 +0200
commitd9ee362537a34473b32ad3b4a1d7feb56a6b6811 (patch)
tree5d0cf440bb0893f679f21963e79f866ad3a73d35 /ftdetect/polyglot.vim
parent57badea2dc9aff361d528aeeeb22ac2e85da1435 (diff)
downloadvim-polyglot-d9ee362537a34473b32ad3b4a1d7feb56a6b6811.tar.gz
vim-polyglot-d9ee362537a34473b32ad3b4a1d7feb56a6b6811.zip
Fix weird indentation issue of yaml
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 186ba9da..792c2432 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1677,6 +1677,9 @@ if !has_key(s:disabled_packages, 'xsl')
au BufNewFile,BufRead *.xslt setf xsl
endif
+if !has_key(s:disabled_packages, 'yaml-extras')
+endif
+
if !has_key(s:disabled_packages, 'ansible')
au BufNewFile,BufRead group_vars/* setf yaml.ansible
au BufNewFile,BufRead handlers.*.y{a,}ml setf yaml.ansible