summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-05-02 10:52:01 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2016-05-02 10:52:01 +0200
commit554ae93ef1728c1b031eb2a6f8013e74bc1a7786 (patch)
tree8758cdfda8edae1eaf27855a9a6c8359a1e52941 /ftdetect
parent7a29850ae926e8fabf18058061187582e04dedde (diff)
downloadvim-polyglot-554ae93ef1728c1b031eb2a6f8013e74bc1a7786.tar.gz
vim-polyglot-554ae93ef1728c1b031eb2a6f8013e74bc1a7786.zip
Add pgsql syntax, closes #111
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 4 insertions, 0 deletions
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()