On Tuesday, September 11, 2012 4:03:30 AM UTC+1, 葛布林 wrote:
> I see, and I am starting trying. Very thanks! It is much better than the original plsql.vim.
>
>
> It is very handy that the color will change from white to blue after I close a quotation. But in my codes there are some occasions like
>
>
>
> v_sql_where := v_sql_where ||'
> AND a.col1 = 1 ';
>
>
> with the first quotation mark at the first row while the second quotation mark at the second row. In this condition I found it did not handle properly.
>
>
>
> I noticed the type of "char" would have a pink background color while the other types as " varchar2" or "number" still having the background stay the same. I am wondering why "char" is so special...
>
I didn't touch the quoting rules - they are still the original. I'll have a look but I doubt I can improve on them.
I assigned VARCHAR and CHAR to the TODO highlighting group so that you can easily replace them with the standard VARCHAR2, or if it's code you can't change at least you can prepare for unintended side effects. In 20 years of PL/SQL development I have seen a valid use for CHAR once, and that was in 2000.
btw did you use all of the .vim files I posted, or just plsql.vim?
William
PS I think this group likes you to bottom-post, newsgroup-style, rather than at the top email-style.
--
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
Tuesday, September 11, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment