Hi Takeshi --

Yes, I'm using Emacs

I knew there was something I liked about you...

so it may be an option to customize
chpl-mode.el according to my preference (though I don't know
the syntax of Emacs lisp very well...)

Even if you know emacs lisp, the framework for highlighting can be...confusing.


Just inserting "label" into the following part of
$CHPL_HOME/highlight/emacs/chpl-mode.el,

(c-lang-defconst c-simple-stmt-kwds
 "Statement keywords followed by an expression or nothing."
 chpl '("break" "continue" "label" "return" "yield"))

the code now highlights "label" nicely :)

Nice! Are you interested in signing a contributor agreement and putting together a PR for this mod by any chance? For details, see:

https://github.com/chapel-lang/chapel/blob/master/.github/CONTRIBUTING.md

Have a good weekend,
-Brad


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to