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 — ruby 1.9 style hash does not highlight { in matchparen.vim · Issue #452 · vim-ruby/vim-ruby

ruby 1.9 style hash does not highlight { in matchparen.vim #452

New issue
Copy link
New issue
Copy link
Open
Open
ruby 1.9 style hash does not highlight { in matchparen.vim#452
Copy link

Description

@yamam
yamam
opened on Aug 15, 2022
Issue body actions

Steps to reproduce

vim -u vimrc min.rb
nvim --clean min.rb

vimrc

se nocp
syntax on
filetype plugin indent on

min.rb

{a: 0}

Moving the cursor to the } position does not highlight {.

If you comment out the following line in line 471 of ruby.vim, the problem will no longer occur.

$VIMRUNTIME/syntax/ruby.vim

syn match rubySymbol "[[:space:],{(]\%(\h\|[^\x00-\x7F]\)\%(\w\|[^\x00-\x7F]\)*[!?]\=:[[:space:],;]\@="hs=s+1,he=e-1

Environment

NVIM v0.8.0-dev-845-gf38c05bec
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Aug 9 2022 21:41:53)

Activity

  1. tpope commented on Aug 15, 2022

    @tpope
    tpope
    on Aug 15, 2022
    Member
    More actions

    Confirmed broken after 1aa8f0c and before 1507e68 (the former being a fix for an issue introduced in the latter).

  2. tpope
    added a commit that references this issue on Aug 15, 2022

    Change view helper highlighting from "keyword" to "match"

    03b45fc
  3. tpope
    added a commit that references this issue on Aug 24, 2022

    Tighten syn match declarations

    83e1767
  4. tpope
    added a commit that references this issue on Sep 8, 2022

    Drop remaining uses of `:syn keyword`

    b6af730
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.