shmup / vim-sql-syntax

Improved SQL syntax for vim.
17 stars 4 forks source link

Avoid over highlighting REMARK commands #1

Closed zorab47 closed 8 years ago

zorab47 commented 8 years ago

Adjust syntax to only highlight REMARK commands which:

Before the highlighting would incorrectly highlight columns containing the substring "rem" as a SQL comment:

SELECT
  posts.remarks
     -- ^^^^^^^ was incorrectly highlighted as a comment
FROM posts
shmup commented 8 years ago

Looks good :+1: