New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Font lock types in their own color #1237
Conversation
Todo:
|
In case of |
Nice solution (: |
So both patterns and views work only with constructors. |
((and (member (match-string-no-properties 0) | ||
'("<-" "=" "<-" "←" "," ";" | ||
")" "]" "}" "|" | ||
"case" "class" "data" "default" "deriving" "do" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can haskell-font-lock--reverved-ids
be re-used here? (:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorta maybe. I mean I'm too tired to make sure that all keywords end types. Is forall
a keyword? is there other keyword that can happen in types?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And, btw, thanks for reading this. It wasn't easy to write so I'm grateful for all the help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always read everything, PRs, issues, and code (: But, unfortunately most of the time I have nothing to add ):
Mostly done. Lets give it a couple of days lying here and then we merge. |
Fixes #899.