]> git.eshelyaron.com Git - sweep.git/commit
ENHANCED: improve semantic highlighting for several constructs
authorEshel Yaron <me@eshelyaron.com>
Mon, 16 Jan 2023 18:58:31 +0000 (20:58 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 16 Jan 2023 18:58:31 +0000 (20:58 +0200)
commit6e7943beabf8d1092ca92f4d541034841050c208
treefae04ae60776d7a026d73bad822f5e3ad5f22b03
parent40c3ba312d865f71983aacf0563448c0e0e31030
ENHANCED: improve semantic highlighting for several constructs

* sweep.pl (sweep_color_normalized_/4): fix handling of non-callable
terms, propagate type error expected type to Elisp.
(sweeprolog_goal_kind_normalized/2): rename to...
(sweep_goal_kind_normalized/2): normalize all goal and head classes.
* sweeprolog.el (sweeprolog-analyze-fragment-to-faces): adapt to new
info from sweep_goal_kind_normalized/2, and highlight some missing
token kinds.
sweep.pl
sweeprolog.el