[9fans] rc.vim rc shell vim syntax file
You can get it at vim.org: http://www.vim.org/scripts/script.php?script_id=2880 This vim syntax file is made for the rc for unix port. Though I think it will also be helpful for rc on plan9 since the syntax is quite similar. The bugs of rc on plan9 I can think of: * 'not' in 'if not' won't highlighted * 'else' should not be highlighted * `followded by a word should not be highlighted * minor issues regarding with $^foo and $"foo (maybe) Besides those bugs, it should works fine on a plan9 rc. (I am just guessing since I cannot reach a plan9 system.) And these bugs can be fixed easily by editing a few regex.
Re: [9fans] rc.vim rc shell vim syntax file
On Dec 4, 12:06Â am, jaketodd...@gmail.com (Jacob Todd) wrote: > > Which rc port? There's [1], which I thought I read people bickering about how > it was different than Plan 9's rc. > [1]http://rc-shell.slackmatic.org/ > -- > Jake Todd Yes, this version. In fact there are not too much differences (especially for syntax highlight). For example, `word is not valid in p9/p9p's rc, but since it is invalid, p9/p9p users won't write this, so they will not care about whether it get highlighted in another version of rc script.
Re: [9fans] rc.vim rc shell vim syntax file
On Dec 4, 1:17Â am, andy753...@gmail.com (Andy Spencer) wrote: > Hey weakish, I've been working on a similar syntax file for a little > while but I guess I forgot to post it to 9fans.. I've been going off > rc(1) from plan9port so the syntax might be a little different depending > on which version you've been working towards. I have just found out that I've reinvented the wheel poorly. :-) I've made some minor changes in your syntax file to make it compatible with both p9p's rc and Byron Rakitzis' reimplementation (this is the version I uses, which was packaged by Debian and macports). I have traded off error detection like `foo `bar since Byron's rc allows this (but `foo` bar still get detected).And I've uploaded the new version at vim.org: http://www.vim.org/scripts/script.php?script_id(80 Regares, Weakish Jiang
Re: [9fans] rc shell UNIX port repository
On Dec 6, 3:54Â pm, ciprian.crac...@gmail.com (Ciprian Dorin, Craciun) wrote: > Â Â Now I'm trying to contribute back to the community, and I've sent > an email to Tig Goodwin (at t...@star.le.ac.uk), which the mail server > rejected (it seems that the email is not valid any more). Have you tried this email to contact Tim Goodwin: i...@libra-aries- books.co.uk Currently I'm not aware of any mail-list/code-repository dedicated to rc shell.