From 4a7a860e46b1955e335188c1a22ee8b1fdf670b6 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Mon, 29 Mar 2021 19:06:00 +0200 Subject: Properly markup two additional section headings --- rust-mode.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'rust-mode.el') diff --git a/rust-mode.el b/rust-mode.el index 9e8213c..498481f 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -524,7 +524,8 @@ seen as a macro." (and (= ?! (char-after)) (rust-looking-back-ident))))) -;; Syntax definitions and helpers +;;; Syntax definitions and helpers + (defun rust-paren-level () (nth 0 (syntax-ppss))) (defun rust-in-str () (nth 3 (syntax-ppss))) (defun rust-in-str-or-cmnt () (nth 8 (syntax-ppss))) @@ -1607,7 +1608,8 @@ This is written mainly to be used as `end-of-defun-function' for Rust." (skip-syntax-forward "\"|") (point))) -;; Formatting using rustfmt +;;; Formatting using rustfmt + (defconst rust-rustfmt-buffername "*rustfmt*") (defun rust--format-call (buf) -- cgit v1.2.3