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
Whenever I try to use macrostep in c-ts-mode it errors with Scan error: "Unbalanced parentheses".
If i really need to use it, i have to switch to c-mode just for that command.
The text was updated successfully, but these errors were encountered:
Well, it might not matter anyway -- this is a known issue from the original repo (see the list). See joddie#11 (comment) for a workaround, which I can confirm fixes the issue. Reposting so it doesn't get lost:
;; <https://github.com/joddie/macrostep/issues/11>;; <https://github.com/emacsorphanage/macrostep/issues/8>
(defunmy-macrostep-expand-wrapper ()
"Work around `macrostep-expand' not liking whitespace after a sexp."
(interactive)
(when (and (=?\n (char-after))
(= (point) (cdr (bounds-of-thing-at-point'sexp))))
(backward-char))
(macrostep-expand))
Whenever I try to use macrostep in c-ts-mode it errors with
Scan error: "Unbalanced parentheses"
.If i really need to use it, i have to switch to c-mode just for that command.
The text was updated successfully, but these errors were encountered: