Startin quote is
q'X where X is any character not used in the string
ends
X'
Example
q'[select 'V' from dual]'
The current highlighting plsql.vim file doesn't handle that type of
string correctly. I tried a fix but can't seem to get it to work.
Here is what I tried to do. I made another syntax match based off
plsqlStringLiteral as follows
syn match plsqlQuotedString "'\([^q'\(.\)]\|''\)*\2'"
I am not very good at following the regular expression, that it is based from
syn match plsqlStringLiteral "'\([^']\|''\)*'"
Can someone fix this so that syntax highlighting doesn't flag every
semicolon in the file after this as a red error.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment