Skip to content

Commit

Permalink
Merge pull request #1 from baest/master
Browse files Browse the repository at this point in the history
More known data types
  • Loading branch information
exu committed May 15, 2012
2 parents 36ff70d + e568009 commit 4b05bef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ you can insert this lines to your *filetype.vim*

au BufNewFile,BufRead *.sql setf pgsql

Or load it using the default sql.vim:

let g:sql_type_default = 'pgsql'
6 changes: 3 additions & 3 deletions syntax/pgsql.vim
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ syn sync ccomment pgsqlComment
syn keyword pgsqlType anyarray anyelement abstime anyenum
syn keyword pgsqlType anynonarray any aclitem bytea bit
syn keyword pgsqlType boolean bigint box cidr cstring char
syn keyword pgsqlType character cid circle double date
syn keyword pgsqlType gtsvector inet interval internal
syn keyword pgsqlType character cid circle double date enum
syn keyword pgsqlType gtsvector hstore inet interval internal
syn keyword pgsqlType int2vector integer line lseg
syn keyword pgsqlType language_handler macaddr money numeric
syn keyword pgsqlType name opaque oidvector oid polygon point
Expand All @@ -86,7 +86,7 @@ syn keyword pgsqlType regtype refcursor regoperator reltime
syn keyword pgsqlType record regproc regdictionary regoper
syn keyword pgsqlType regprocedure regconfig smgr smallint
syn keyword pgsqlType time tsquery tinterval trigger tid
syn keyword pgsqlType timestamp text tsvector txid_snapshot
syn keyword pgsqlType timestamp timestamptz text tsvector txid_snapshot
syn keyword pgsqlType unknown uuid void varying with without
syn keyword pgsqlType xml xid zone

Expand Down

0 comments on commit 4b05bef

Please sign in to comment.