You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Font-lock hangs on a binding form inside a docstring in clojure-ts-mode #4233
With clojure-ts-mode and cider-mode enabled, Emacs hangs in redisplay when this form is on screen:
(defndoc-ns"Returns the symbol of an `(ns ...)` form."
[form]
(second form))
cider--parse-and-apply-locals matches (ns inside the docstring. In clojure-ts-mode, forward-sexp at that ( does not move point and does not signal an error. sexp-end is then the match position, and the next search finds the same match again. C-g does not interrupt font-lock in redisplay, so Emacs freezes.
In clojure-mode the same match does not hang, but it puts cider-block-dynamic-font-lock on the docstring text.
Activity
borkdude commentedon Nov 16, 2026
Fix with tests: master...borkdude:cider:parse-locals-skip-strings