newlisp.vim 1.32 (and 1.33!)
Posted: Thu Oct 07, 2010 2:53 am
Another release of the newLISP syntax highlighter for the Vim text editor. A subtle bug was fixed: an unbalanced parentheses inside the font highlighting (italic or monospace) inside documenting comments was breaking the Vim built-in paren matching. Example:
;; Unbalanced paren (
was OK, but
;; Unbalanced paren '('
was not. Now the later is OK too. Downloadable from usual locations (one, two). It will be helpful if someone will test this and report bugs (if any), because I am going to release the 1.33 version real soon now (next 24 hours or so), including all the new stuff from newLISP 10.2.16, in hope it will be the final release before newLISP 10.3. Thanks in advance!
If someone want to know the technical details: the Vim is very smart in parentheses matching job, it promptly skips the parentheses inside strings and comments. But strings and comments may have different syntax in different languages, so the definition is "any highlighting class whose name contains 'string' or 'comment'". In the previous versions of my highlighter, both plain comments and documenting comments does contain the word 'comment' in its name, but highlighted font sections inside doc comments was not. Now they are properly renamed.
;; Unbalanced paren (
was OK, but
;; Unbalanced paren '('
was not. Now the later is OK too. Downloadable from usual locations (one, two). It will be helpful if someone will test this and report bugs (if any), because I am going to release the 1.33 version real soon now (next 24 hours or so), including all the new stuff from newLISP 10.2.16, in hope it will be the final release before newLISP 10.3. Thanks in advance!
If someone want to know the technical details: the Vim is very smart in parentheses matching job, it promptly skips the parentheses inside strings and comments. But strings and comments may have different syntax in different languages, so the definition is "any highlighting class whose name contains 'string' or 'comment'". In the previous versions of my highlighter, both plain comments and documenting comments does contain the word 'comment' in its name, but highlighted font sections inside doc comments was not. Now they are properly renamed.