summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2018-12-26 20:33:28 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2018-12-26 20:33:28 +0100
commitc161994e9607399a7b365ab274592bfc4f100306 (patch)
tree3e5f8e3ab137f58ecb01fcc59d354cf22f25a6a2 /ftdetect/polyglot.vim
parentf2383782218926011746ea85d7c2539b5980ac87 (diff)
downloadvim-polyglot-3.4.0.tar.gz
vim-polyglot-3.4.0.zip
Add pony supportv3.4.0
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 62aaf3ab..888f78eb 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -795,6 +795,13 @@ au BufNewFile,BufRead *.pgsql setf pgsql
augroup end
endif
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pony') == -1
+ augroup filetypedetect
+ " pony, from pony.vim in jakwings/vim-pony
+autocmd BufRead,BufNewFile *.pony setf pony
+ augroup end
+endif
+
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'powershell') == -1
augroup filetypedetect
" powershell, from ps1.vim in PProvost/vim-ps1