stan-dev / stan-mode

Emacs mode for Stan.
GNU General Public License v3.0
71 stars 15 forks source link

Issue with syntax highlighting #21

Closed tmalsburg closed 10 years ago

tmalsburg commented 10 years ago

In the following code, stan-mode colors the variable name rt in red:

real rt[N];

However, in this code, RT is not colored:

real RT[N];

I'm using the most recent version of stan-mode (installed from MELPA) and the current development version of Emacs (24.4.50.2).

tmalsburg commented 10 years ago

Correction: in

real RT[N];

the R is black and the T is blue. (Difficult to see on my screen.)

jrnold commented 10 years ago

There was a problem with the regex for truncation. I fixed it. The new version is up on github and should be on MELPA soon.

tmalsburg commented 10 years ago

Thank you!