summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-04-23 11:46:52 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-04-23 11:46:52 +0200
commit679ccf03036dede70ec61878830973d79534bf0e (patch)
tree8c21cd4b2412218c20b4bacfc7f23e0d5f7d8f04 /ftdetect
parenteacf785f5adcfb0b25988a0d0b8d05298033cb0c (diff)
downloadvim-polyglot-679ccf03036dede70ec61878830973d79534bf0e.tar.gz
vim-polyglot-679ccf03036dede70ec61878830973d79534bf0e.zip
Change pgsql provider, closes #391
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 4e796dc9..9026cf58 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -948,9 +948,8 @@ endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pgsql') == -1
augroup filetypedetect
- " pgsql, from pgsql.vim in exu/pgsql.vim
-" postgreSQL
-au BufNewFile,BufRead *.pgsql setf pgsql
+ " pgsql, from pgsql.vim in lifepillar/pgsql.vim
+au BufNewFile,BufRead *.pgsql let b:sql_type_override='pgsql' | setfiletype sql
augroup end
endif