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

README.md

About

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

Installation

  • 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"