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
[Fix#2126] Preserve the point position in cider-format-buffer
That's pretty important for people who want to apply the formatting
automatically on buffer save.
Unfortunately we can't use save-excursion here, because we're
deleting the location we want to preserve, so we have to get a bit
more creative.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
*[cider-nrepl#438](https://github.com/clojure-emacs/cider-nrepl/pull/438): Improve startup time by deferring loading CIDER's middleware until the first usage.
14
14
*[#2078](https://github.com/clojure-emacs/cider/pull/2078): Improve startup time by bundling together sync requests during startup.
15
15
*`cider-rotate-default-connection` will warn if you use it with only a single active connection.
16
+
*`cider-format-buffer` preserves the point position.
0 commit comments