Wilfred / difftastic

a structural diff that understands syntax 🟥🟩
https://difftastic.wilfred.me.uk/
MIT License
20.1k stars 324 forks source link

^L in lisp is not properly highlighted #85

Open Wilfred opened 2 years ago

Wilfred commented 2 years ago

This is either an lisp parser bug or a difftastic issue. See https://github.com/Wilfred/.emacs.d/commit/593a6d6c9800bc04bc4b777854eb654e187a51c2 for an example.

Wilfred commented 2 years ago

#\v and #\: also seem to be missing positions.

Wilfred commented 2 years ago

Looks like ^L is elisp and ^_ is .info (so text) highlighting. See elpa/sly-20210729.1613/contrib/sly-autodoc.el and elpa/sly-20210729.1613/dir respectively.

Wilfred commented 2 years ago

Line 632 (grep for make-symbols-listing) in elpa/sly-20210729.1613/contrib/slynk-fancy-inspector.lisp shows issues too.

Wilfred commented 2 years ago

Interestingly whitespace in line 135 of elpa/sly-20210729.1613/contrib/slynk-profiler.lisp has issues too.

Wilfred commented 2 years ago

https://github.com/theHamsta/tree-sitter-commonlisp/issues/10