Skip to content

Commit

Permalink
Use rust-doc-indent-line as the indentation function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Moody committed Nov 3, 2024
1 parent 3643082 commit 3d2b40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-prog-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ whichever comes first."
(setq-local syntax-propertize-function #'rust-syntax-propertize)

;; Indentation
(setq-local indent-line-function 'rust-mode-indent-line)
(setq-local indent-line-function 'rust-doc-indent-line)

;; Fonts
(setq-local font-lock-defaults
Expand Down

0 comments on commit 3d2b40f

Please sign in to comment.