Code: Select all
"before:
setlocal iskeyword=42,43,45,47-58,60-62,64-90,97-122,_
"after:
setlocal iskeyword=33,36-38,42,43,45,47-58,60-90,97-122,_
Code: Select all
setlocal iskeyword=33,36-38,42,43,45,47-58,60-90,92,94-122,124,126,_
Code: Select all
"before:
setlocal iskeyword=42,43,45,47-58,60-62,64-90,97-122,_
"after:
setlocal iskeyword=33,36-38,42,43,45,47-58,60-90,97-122,_
Code: Select all
setlocal iskeyword=33,36-38,42,43,45,47-58,60-90,92,94-122,124,126,_
Alas thing appears more complicated than looked. In particular, true and nil aren't highlighted. I am going to investigate on this, but this is not an on-line hack, I need to explore the code in depth. Therefore I don't promise to complete the task before release. :-(Lutz wrote:Thanks for the changes Cyril. The file has been updated here: http://newlisp.org/code/newlisp.vim.txt and in the next development version 9.2.4, due on the weekend.
And now is the time for some good news. I've failed in despair to grok the official syntax file (it is too much based on Common Lisp, and these two languages have quite different morphologies). Therefore I've decided to write my own syntax file, and spent a sleepless night (in eastern hemisphere) on this task. So at this cool morning I have a brand new Vim syntax file for newLISP language, written from scratch and not based on any previous sources. Look at it here:Cyril wrote: I am going to investigate on this, but this is not an on-line hack, I need to explore the code in depth. Therefore I don't promise to complete the task before release. :-(
I'll be glad if you'll do this. I was always confused that a fair usage of such a short works (150 lines or so) need some formal approving. In my previous short pieces of code I used to write "Public Domain", but I was told recently that there is no legal "Public Domain" concept in some countries, in particular in Russia. Therefore I don't know the right legal spell, so I just say in a plain (or rather broken) English -- use it as you wish!Lutz wrote:I have updated the link: http://newlisp.org/code/newlisp.vim.txt and the file will be included in the coming development version 9.2.5 (with your permission).
My .vimrc contains some clever ideas (I hope), but it is totally unrelated to newLISP. I rather not suggest for a newbee to just copy it. Probably Peter's .vimrc will be more useful -- it contains some really neat newLISP-specific tricks. It is located here.Lutz wrote:ps: I also included a link to your .vimrc file, the other .vimrc will be redone at a later time.