From: Pierre-Charles David Date: 2002-02-08T00:15:42+09:00 Subject: Re: ruby and vim fastjack@camelot.germanistik.fu-berlin.de (Martin Maciaszek) writes: > To edit my ruby code I rediscovered the good old vim. vim6 even has > syntax highlighting rules for ruby. Which works great, except on the > following code: > dbh.do("select whatever from whereever;") > foo > end It's not a Vim bug, Ruby itself gives a "parse error" on this code. You forgot the second 'do' (not the method one, the one starting the block). dbh.do("select whatever from whereever;") do foo end or dbh.do("select whatever from whereever;") { foo } -- Pierre-Charles David (pcdavid emn fr) Computer Science PhD Student, �cole des Mines de Nantes, France Homepage: http://purl.org/net/home/pcdavid