#237 new
Nelvin Driz

Wrong syntax highlighting for spec file: pending 'it' block

Reported by Nelvin Driz | June 12th, 2010 @ 04:54 PM

When I have pending it blocks with the following format, the syntax highlighting is wrong.

describe 'Something' do
  it 'should do task 1'
  it 'should do task 2'

Comments and changes to this ticket

  • Nelvin Driz

    Nelvin Driz June 12th, 2010 @ 04:58 PM

    It also has wrong syntax highlighting with:

    describe 'Something' do
      it { ... }
      it { ... }
  • Nelvin Driz

    Nelvin Driz June 12th, 2010 @ 05:25 PM

    Although I don't know how it happens but sometimes I am unable to create multi-line comments through '=begin' since it would always append tab/two spaces before '=begin' like:

    describe 'Something' do

    I think it might be connected to this since I'm guessing the highlighting of the text is bound to how it is interpreted. And through that, it determines if a certain line must be indented or not.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket