diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2021-03-29 19:06:00 +0200 |
|---|---|---|
| committer | brotzeit <brotzeitmacher@gmail.com> | 2021-04-23 13:57:07 +0200 |
| commit | 4a7a860e46b1955e335188c1a22ee8b1fdf670b6 (patch) | |
| tree | 6cfa18ea1a2d9d755de791a22b45ecff5d31a66d /rust-mode.el | |
| parent | 3fa8f0b3ee3e4f6aa783dd5bcbadaae571ddf4ed (diff) | |
| download | rust-mode-4a7a860e46b1955e335188c1a22ee8b1fdf670b6.tar.gz | |
Properly markup two additional section headings
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 6 |
1 files changed, 4 insertions, 2 deletions
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) |
