Vim syntax highlighting mode updated again. Changes in this version:
1. Symbols ending with a special character are highlighted in a different color now. Rationale: when user introduces some convention about postfixes ('foo?' for predicates, 'foo!' for destructive functions, 'foo&' for pass-like functions and so on), s/he usually intents to make them visually different. So I do them such. This affects user-defined symbols only, built-in symbols are still in the same color.
2. The tricky mechanic of error disabling, introduced in 1.10, is abandoned. Now I believe it was an useless and ugly hack. You can disable any certain highlighting you dislike by standard Vim means. An example: let us suppose that you dislike the feature of paragraph one and want the special symbols to be colored in the same way as all other symbols, in the way used by this plugin before. Then you can put the following line in your .vimrc:
hi link newlispSymbolSpecial newlispSymbol
, and highlighting returns to its good old way. Of course, if you want just this, you can also not upgrade at all, but this hint may be useful in future versions. ;-)
The plugin is located, as usual, here and there.
newlisp.vim version 1.13
newlisp.vim version 1.13
With newLISP you can grow your lists from the right side!
newlisp.vim version 1.14
Another trivial bug: @link keyword in documenting comments was highlighted only after a space. Fixed. Was found while writing something like this:
;; (@link http://wagner.pp.ru/~slobin/newlisp/sxml2xml.lsp source here)
Version 1.14 uploaded to its usual locations.
;; (@link http://wagner.pp.ru/~slobin/newlisp/sxml2xml.lsp source here)
Version 1.14 uploaded to its usual locations.
With newLISP you can grow your lists from the right side!
I am definitely not going to offend you, but choosing a Lisp syntax as a base was a wrong move from the beginning. What all the languages of Lisp family have in common? Very powerful semantic (we all like it). Absence of syntax (which has it's good and bad sides). But lexical level is totally different: CL is not like Scheme, both are not like newLISP. And syntax highlighting works mainly in lexical level, partially on syntactic (balance of parentheses), and has no deal with semantic. So I have started with a language that is lexically (but neither syntactically nor semantically) similar to newLISP. I mean old good C language. ;-)Excalibor wrote:my version was a quick hack over the Lisp syntax file
With newLISP you can grow your lists from the right side!