Skip to content

Commit 18b4d67

Browse files
committed
[sil-mode.el] Add syntax highlighting for noimplicit copy instructions.
(cherry picked from commit 65a9ba4)
1 parent c2c890a commit 18b4d67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/sil-mode.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@
186186
;; Debug Info
187187
`(,(regexp-opt '("loc" "scope" "parent" "inlined_at")
188188
'words) . font-lock-keyword-face)
189+
;; noimplicit copy
190+
`(,(regexp-opt '("moveonlywrapper_to_copyable" "moveonlywrapper_to_copyable_addr"
191+
"copyable_to_moveonlywrapper" "copyable_to_moveonlywrapper_addr"
192+
"moveonlywrapper_to_copyable_box")
193+
'words) . font-lock-keyword-face)
189194
;; SIL Value
190195
'("\\b[%][A-Za-z_0-9]+\\([#][0-9]+\\)?\\b" . font-lock-variable-name-face)
191196
;; Variables

0 commit comments

Comments
 (0)