Commit 27991cb
committed
Use
`clojure-indent-line' was the only direct indent-function call in cider
tied to a specific major mode. Replacing it with `indent-according-to-mode'
dispatches via the active mode's `indent-line-function', so the call works
identically in `clojure-mode' (the function happens to be
`clojure-indent-line') and in `clojure-ts-mode' (where it's the
tree-sitter-driven `clojure-ts-indent-line'), without cider having to know
which mode is active.indent-according-to-mode' in cider-maybe-insert-multiline-comment'1 parent b4a83d7 commit 27991cb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
0 commit comments