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 & block syntax highlighting · Issue #407 · vim-ruby/vim-ruby

Heredoc & block syntax highlighting #407

New issue
Copy link
New issue
Copy link
Open
Open
Heredoc & block syntax highlighting#407
Copy link

Description

@amerov
amerov
opened on Dec 8, 2019
Issue body actions

VIM highlighting example:
vim_ruby_block
Emacs:
emacs_ruby_block

Reacted by Andrew Marshall

Activity

  1. smackesey commented on Jun 30, 2020

    @smackesey
    smackesey
    on Jun 30, 2020
    More actions

    Similar issue:

    bad-hl

    That final end should be red, the color of the rest of the case keywords. The syntax stack on the end is: ['rubyCaseExpression', 'rubyArrayLiteral']. So vim somehow thinks the Array hasn't closed.

  2. tpope commented on Jun 12, 2021

    @tpope
    tpope
    on Jun 12, 2021
    Member
    More actions

    Ruby's heredoc highlighting pushes Vim's regexp based syntax highlighting to its limits. I would say it's unlikely issues of this nature are fixable.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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.