Permalink
Browse files

Merge pull request #1 from baest/master

More known data types
  • Loading branch information...
2 parents 36ff70d + e568009 commit 4b05beff9c7a9043af3613ed1811fbd1408e0933 @exu committed May 15, 2012
Showing with 6 additions and 3 deletions.
  1. +3 −0 README.md
  2. +3 −3 syntax/pgsql.vim
View
@@ -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'
View
@@ -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
@@ -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

0 comments on commit 4b05bef

Please sign in to comment.