branch: elpa/cider commit e650b60dc67bfc6cb3b1f2b77490af064a19e1d7 Author: vemv <v...@users.noreply.github.com> Commit: vemv <v...@users.noreply.github.com>
Adapt `cider--inspector-java-headers` to the changes introduced in Orchard See https://github.com/clojure-emacs/orchard/pull/197 --- cider-inspector.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cider-inspector.el b/cider-inspector.el index 4952e75b06..ffe0b484dc 100644 --- a/cider-inspector.el +++ b/cider-inspector.el @@ -436,7 +436,13 @@ MAX-COLL-SIZE if non nil." (cider-inspector-render-el* el))) (defconst cider--inspector-java-headers - '("--- Interfaces:" "--- Constructors:" "--- Fields:" "--- Methods:" "--- Imports:")) + ;; NOTE "--- Static fields:" "--- Instance fields:" are for objects, + ;; and don't deserve Java syntax highlighting (they can contain a Clojure value like `:foo/bar`, for instance) + '("--- Interfaces:" + "--- Fields:" ;; rendered only for Class objects (and not other objects) - see previous comment + "--- Constructors:" + "--- Methods:" + "--- Imports:")) (defun cider-inspector-render-el* (el) "Render EL."