From 3d2b40f39eb721e21ecdbff15a596991b5e4da8a Mon Sep 17 00:00:00 2001 From: Benjamin Moody Date: Sat, 2 Nov 2024 20:25:53 -0400 Subject: [PATCH] Use rust-doc-indent-line as the indentation function. --- rust-prog-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-prog-mode.el b/rust-prog-mode.el index 6d4adba..5ba16ab 100644 --- a/rust-prog-mode.el +++ b/rust-prog-mode.el @@ -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