Project

General

Profile

Actions

Backport #718

closed

Emacs ruby-mode does not show comment #@var correctly

Added by gettalong (Thomas Leitner) about 16 years ago. Updated over 5 years ago.


Description

=begin
Normal comments are shown correctly, ie. correctly colored. However, when commenting an instance variable without a
leading space, the color of the comment is the same as the color of an uncommented instance variable.

To reproduce, type the following in Emacs in a buffer with ruby-mode:

this does work

@var this does also work (shown in comment color)

#@var this does not work (shown in instance variable color)
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0