Regex after an operator is not highlighted #136

amarshall opened this Issue Mar 10, 2013 · 1 comment

3 participants


A regex after an operator, like so:

foo + /bar/
foo - /bar/
foo << /bar/

foo << /bar\/baz/

does not get highlighted at all:

Screenshot of incorrect highlighting

Using the latest vim-ruby head (423286e).

@tpope tpope added a commit that closed this issue Mar 10, 2013
@tpope tpope Highlight regexps after <<, +, -, and *
Closes #136.
@tpope tpope closed this in 85c3185 Mar 10, 2013
Vim-Ruby member

This has always been a tightrope walk with false positives on division. I broadened the regex regex a bit.

@dkearns dkearns added the syntax label Sep 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment