Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 228035

Summary: dev-db/postgresql-server - Add a vim-syntax module
Product: Gentoo Linux Reporter: Caleb Cushing <xenoterracide>
Component: New packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: titanofold, vim
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Caleb Cushing 2008-06-18 10:30:58 UTC
can you guys make postgresql ebuild have the vim-syntax flag and install the psql.vim file from vim.org? I'm not sure if this is possible but if there's any way for you to have it activated when using vim as an editor in the psql shell would be nice too.

Reproducible: Always
Comment 1 Patrick Lauer gentoo-dev 2010-06-09 16:53:00 UTC
@vim: You guys know how to handle it properly, feel free to fix as you see fit
Comment 2 Patrick Lauer gentoo-dev 2010-06-16 18:51:18 UTC
And it's no longer postgresql but postgresql-server we care about
Comment 3 Aaron W. Swenson gentoo-dev 2010-09-25 00:38:33 UTC
It seems that psql.vim is terribly out of date.

This, on the other hand, was last updated this year.
http://www.gunduz.org/postgresql/pgsql.vim
Comment 4 Tim Harder gentoo-dev 2011-05-17 08:55:40 UTC
(In reply to comment #3)
> This, on the other hand, was last updated this year.
> http://www.gunduz.org/postgresql/pgsql.vim

It might be best to try to get vim upstream to include this or the best syntax file out there since the syntax files for most other major SQL servers are already included in standard release.
Comment 5 Aaron W. Swenson gentoo-dev 2012-02-22 11:33:55 UTC
Given that there's no consistent upstream source that will keep the syntax file up-to-date, I'm closing this.

@vim herd: If you want to adopt the syntax file and keep it current, feel free to reopen this bug.