[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rust-mode cc59c83 270/486: Recognize imenu items starting
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rust-mode cc59c83 270/486: Recognize imenu items starting with "unsafe" |
Date: |
Sat, 7 Aug 2021 09:25:34 -0400 (EDT) |
branch: elpa/rust-mode
commit cc59c8387fde46b673a1784c60ff5117ed82eef0
Author: mrBliss <dewinant@gmail.com>
Commit: mrBliss <dewinant@gmail.com>
Recognize imenu items starting with "unsafe"
---
rust-mode.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rust-mode.el b/rust-mode.el
index 2c97433..b5f62cb 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -32,6 +32,7 @@
(defconst rust-re-lc-ident
"[[:lower:][:multibyte:]_][[:word:][:multibyte:]_[:digit:]]*")
(defconst rust-re-uc-ident "[[:upper:]][[:word:][:multibyte:]_[:digit:]]*")
(defconst rust-re-vis "pub")
+(defconst rust-re-unsafe "unsafe")
(defconst rust-re-non-standard-string
(rx
@@ -556,6 +557,7 @@ buffer."
(defun rust-re-item-def-imenu (itype)
(concat "^[[:space:]]*"
(rust-re-shy (concat (rust-re-word rust-re-vis) "[[:space:]]+")) "?"
+ (rust-re-shy (concat (rust-re-word rust-re-unsafe) "[[:space:]]+"))
"?"
(rust-re-item-def itype)))
(defconst rust-re-special-types (regexp-opt rust-special-types 'symbols))
- [nongnu] elpa/rust-mode b76e803 208/486: Correctly indent where clauses, (continued)
- [nongnu] elpa/rust-mode b76e803 208/486: Correctly indent where clauses, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 304ae4b 219/486: Change font-lock face for module names., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode ae49380 221/486: Merge pull request #121 from fbergroth/integrate-rustfmt, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 315cc59 233/486: Re-indent on }, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode bc77e16 240/486: remove emacs 23 support, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 620d718 257/486: Fix #160, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode cffb950f2 258/486: [master] Remove redundant progn., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode b3b0f78 259/486: Merge pull request #161 from Fanael/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode ba5ff90 260/486: Merge pull request #159 from hotpxl/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode f73f321 264/486: Merge pull request #163 from Wilfred/preserve_point_rustfmt, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode cc59c83 270/486: Recognize imenu items starting with "unsafe",
ELPA Syncer <=
- [nongnu] elpa/rust-mode fba7714 271/486: Handle comments when indenting method chains, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 7b32066 032/486: rust-mode.el uses the 'cl macros, so it should actually require them, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 2e671d9 040/486: revisions to emacs compilation regexp, more readable and robust., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 1962971 044/486: Correct indent with trailing spaces/comments on previous line, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode f0e4edc 001/486: Move emacs mode into tree, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 6aa0a91 002/486: rust-mode: tag -> enum. Closes #1577, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 3dbae26 008/486: Remove "iface" from vim and emacs modes., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode d0d3911 007/486: For #2229, recognize 'again' in place of 'cont', final change pending snapshot., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 50e55e4 012/486: Add 'static' to rust-mode.el., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 256de23 011/486: emacs: add match as keyword, ELPA Syncer, 2021/08/07