GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Heredoc within array makes highlight incorrect · Issue #403 · vim-ruby/vim-ruby

Heredoc within array makes highlight incorrect #403

New issue
Copy link
New issue
Copy link
Open
Open
Heredoc within array makes highlight incorrect#403
Copy link
Assignees
dkearns
Labels
syntax

Description

@jlebray
jlebray
opened on Nov 6, 2019
Issue body actions

The issue

Having an Heredoc within an array makes some part of the document unhighlighted, such as the 3 end in the following example
image

How to reproduce

module Test
  class Test
    def test
      [<<~SQL]
        TEST
      SQL
    end

    def other_method
    end
  end
end

Activity

  1. dkearns
    self-assigned this
    on Nov 8, 2019
  2. dkearns
    added
    syntax
    on Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dkearns
    dkearns

Labels

syntax

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.