-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
When using underscores in atoms or variables, there is no highlighting.
I suspect it is because of the presence of the underscore in the pasp--constructs regexp. I suppose that you added the underscore in this regexp in order to take into account anonymous variables. The problem is that this regexp is matched before the regexp for atoms and variables.
One possible workaround (which I use) is:
- remove the underscore from the
pasp--constructsregexp - modify
pasp--variableas follows:
(defconst pasp--variable
'("_*\\([[:upper:]][[:word:]_']*\\)*" . font-lock-variable-name-face)
"ASP variable.")
With this modification, anonymous variables are highlighted just like other variables.
A side question is: I don't understand what is the intent of the pasp--variable2. What ASP construct do you catch with it ?
Metadata
Metadata
Assignees
Labels
No labels