[#6363] Re: rescue clause affecting IO loop behavior — ts <decoux@...>

>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:

17 messages 2000/11/14
[#6367] Re: rescue clause affecting IO loop behavior — David Alan Black <dblack@...> 2000/11/14

Hello again --

[#6582] best way to interleaf arrays? — David Alan Black <dblack@...>

Hello --

15 messages 2000/11/26

[#6646] RE: Array Intersect (&) question — Aleksi Niemel<aleksi.niemela@...>

Ross asked something about widely known and largely ignored language (on

23 messages 2000/11/29
[#6652] RE: Array Intersect (&) question — rpmohn@... (Ross Mohn) 2000/11/29

aleksi.niemela@cinnober.com (Aleksi Niemel) wrote in

[#6723] Re: Array Intersect (&) question — Mathieu Bouchard <matju@...> 2000/12/01

> >Use a hash. Here's code to do both and more. It assumes that

[#6656] printing/accessing arrays and hashes — raja@... (Raja S.)

I'm coming to Ruby with a Python & Common Lisp background.

24 messages 2000/11/30

[ruby-talk:6115] Re: Syntax highlighting for vim?

From: "Conrad Schneiker" <schneiker@...>
Date: 2000-11-07 11:10:03 UTC
List: ruby-talk #6115
Johann Spies wrote:

> I don't know where I got this but I have the following in my .vimrc:
>
> -------------
> map <M-F10> :!ruby -r xmp -n -e 'xmp($_, "\%l\t\t\# \%r\n")'<CR>
> --------------

Isn't this the thing that gets Ruby to evaluate the current selection and
then inserts it on the right hand side of your text?

> When I try and use it (Alt-F10), nothing happens.
>
> How do I get syntax highlighting for ruby on the vim editor?

I don't use syntax highlighting at all.

But you might try the command ":help syntax" to get more info.

Or rumage around www.vim.org for the Vim FAQ and User's Guide.

And check out:

# Subject: Re: VIM syntax file for Ruby?
# Date: 07/10/2000
# Author: hipster <hipster@xs4all.nl>
#
#  << previous in search   next in search >>
#
# On Sun, 09 Jul 2000  16:40:40 +0200, Patrick Schoenbach wrote:
# >
# > Hi guys,
# >
# > I know, someone has written a preliminary interface to Ruby for VIM. Did
# > someone also hack up a sytax highlighting file for VIM? If so, I would
# > be very interested.
#
# http://www.xs4all.nl/~hipster/lib/ruby/ruby.vim
# imperfect but useable...
#
# Michel

As a really desperate last resort, do ":! emacs". (According to the Ruby FAQ
1.11, "ruby-mode.el is supplied in the Ruby distribution". Oh yea, and look
what else it says a few lines later about that ":map <M-F10> ..." thing.)

Hmm. Maybe when you finally find the answer, you could see about getting it
added to the Ruby FAQ.

Conrad








In This Thread

Prev Next