Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Syntax highlighting stops after <<base in for-each statement #283

Description

@webmasterar

Prerequisites

Description

I noticed the syntax highlighting stops/fails when there is a variable immediately following two open angle brackets, e.g. <<base in a for-each statement. Every line following <<base loses its syntax highlighting. I noticed this bug from the code I saw here.

Steps to Reproduce

  1. Load the file into the editor: https://github.com/SwanstromLab/tools/blob/master/v3_for_g2p.rb

Expected behavior:

Continued syntax highlighting after <<base as Notepad++ is capable of doing.

Actual behavior:

It stops highlighting the code after finding <<base in a for-each loop. It might do this in other types of statements. If I put a space between the angle brackets and variable name the syntax highlighting starts working again.

Reproduces how often:

100%.

Versions

Atom : 1.46.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0

Additional Information

I am not affiliated in any way with the repo I link to here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions