Syntax highlighing for the output of psql.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a basic Vim syntax highlighing file for PostgreSQL's output. It was written for use with vim-pipe.


  • Install Pathogen.
  • Clone this project into ~/.vim/bundle/.
  • Set the filetype of the buffer to postgresql.vim. If you're using vim-pipe, you can use somethingl like this in your .vimrc:
	autocmd FileType sql :let b:vimpipe_command="psql mydatabase"
	autocmd FileType sql :let b:vimpipe_filetype="postgresql"