9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] rc.vim  rc shell vim syntax file
@ 2009-12-03 12:34 weakish
  2009-12-03 10:56 ` Jacob Todd
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: weakish @ 2009-12-03 12:34 UTC (permalink / raw)
  To: 9fans

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-12-04 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-03 12:34 [9fans] rc.vim rc shell vim syntax file weakish
2009-12-03 10:56 ` Jacob Todd
2009-12-03 17:12 ` Andy Spencer
2009-12-04 15:58 ` weakish
2009-12-04 16:44 ` weakish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).