Add pgsql syntax, closes #111

This commit is contained in:
Adam Stankiewicz 2016-05-02 10:52:01 +02:00
parent 7a29850ae9
commit 554ae93ef1
No known key found for this signature in database
GPG Key ID: A62480DCEAC884DF
4 changed files with 2290 additions and 0 deletions

View File

@ -76,6 +76,7 @@ Optionally download one of the [releases](https://github.com/sheerun/vim-polyglo
- [octave](https://github.com/vim-scripts/octave.vim--) (syntax)
- [opencl](https://github.com/petRUShka/vim-opencl) (syntax, indent, ftplugin, ftdetect)
- [perl](https://github.com/vim-perl/vim-perl) (syntax, indent, ftplugin, ftdetect)
- [pgsql](https://github.com/exu/pgsql.vim) (syntax, ftdetect)
- [php](https://github.com/StanAngeloff/php.vim) (syntax)
- [plantuml](https://github.com/aklt/plantuml-syntax) (syntax, ftplugin, ftdetect)
- [powershell](https://github.com/Persistent13/vim-ps1) (syntax, indent, ftplugin, ftdetect)

1
build
View File

@ -147,6 +147,7 @@ PACKS="
octave:vim-scripts/octave.vim--
opencl:petRUShka/vim-opencl
perl:vim-perl/vim-perl
pgsql:exu/pgsql.vim
php:StanAngeloff/php.vim
plantuml:aklt/plantuml-syntax
powershell:Persistent13/vim-ps1

View File

@ -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()

2284
syntax/pgsql.vim Normal file

File diff suppressed because it is too large Load Diff