From 554ae93ef1728c1b031eb2a6f8013e74bc1a7786 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 2 May 2016 10:52:01 +0200 Subject: Add pgsql syntax, closes #111 --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 8b93964a..afe8ce44 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -347,6 +347,10 @@ endfunction autocmd BufReadPost *.pl,*.pm,*.t call s:DetectPerl6() autocmd BufNew,BufNewFile,BufRead *.nqp setf perl6 endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pgsql') == -1 + +au BufNewFile,BufRead *.pgsql setf pgsql +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'plantuml') == -1 if did_filetype() -- cgit v1.2.3