File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
branches/try2/src/etc/vim/syntax Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: f15d6d28396e8700b6c3f2704204a2769e710403
8
+ refs/heads/try2: ca6ffac4e4683705b895e368375103315ca0e1ca
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ syn region rustBoxPlacementBalance start="(" end=")" containedin=rustBoxPlace
60
60
syn region rustBoxPlacementBalance start =" \[ " end =" \] " containedin =rustBoxPlacement transparent
61
61
" {} are handled by rustFoldBraces
62
62
63
+ syn region rustMacroRepeat matchgroup =rustMacroRepeatDelimiters start =" $(" end =" )" contains =TOP nextgroup =rustMacroRepeatCount
64
+ syn match rustMacroRepeatCount " .\? [*+]" contained
65
+ syn match rustMacroVariable " $\w\+ "
66
+
63
67
" Reserved (but not yet used) keywords {{{2
64
68
syn keyword rustReservedKeyword alignof be do offsetof priv pure sizeof typeof unsized yield
65
69
@@ -233,6 +237,9 @@ hi def link rustBinNumber rustNumber
233
237
hi def link rustIdentifierPrime rustIdentifier
234
238
hi def link rustTrait rustType
235
239
240
+ hi def link rustMacroRepeatCount rustMacroRepeatDelimiters
241
+ hi def link rustMacroRepeatDelimiters Macro
242
+ hi def link rustMacroVariable Define
236
243
hi def link rustSigil StorageClass
237
244
hi def link rustEscape Special
238
245
hi def link rustEscapeUnicode rustEscape
You can’t perform that action at this time.
0 commit comments