Chapel: Domain literals break vim syntax highlighting

Created on 30 Oct 2018  路  2Comments  路  Source: chapel-lang/chapel

When looking at a code that uses domain literals in vim with syntax highlighting, all curly braces after the domain literal are marked as errors (highlighted in red).

For example, in the code:

proc f(d: domain) { }

proc main {
  f({1..5});

  for i in 1..5 {
  }
}

Every curly brace including and after {1..5} are highlighted in red.

screen shot 2018-10-30 at 12 38 27 pm

Tools good first issue Bug

Most helpful comment

It doesn't happen very often, so I have to say it loud and proud:

Emacs mode doesn't have this problem!! :D

All 2 comments

It doesn't happen very often, so I have to say it loud and proud:

Emacs mode doesn't have this problem!! :D

Fixed by #12563.

Was this page helpful?
0 / 5 - 0 ratings