Skip to content

Commit 5deed96

Browse files
SimonSapinalexcrichton
authored andcommitted
---
yaml --- r: 126013 b: refs/heads/try c: 3c453b3 h: refs/heads/master i: 126011: ac509a1 v: v3
1 parent 717a2e0 commit 5deed96

File tree

2 files changed

+12
-1
lines changed
  • branches/try/src/etc/gedit/share/gtksourceview-3.0/language-specs

2 files changed

+12
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: f2fa55903e378368ed9173560f03a0ef16e371c2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
5-
refs/heads/try: 02d12e5f71ac37374684439f2f9c36f38b72f63a
5+
refs/heads/try: 3c453b36ce371da1339883f5e0157c5c13e7f9fd
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/etc/gedit/share/gtksourceview-3.0/language-specs/rust.lang

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@
269269
<match>\\\%{common_escape}</match>
270270
</context>
271271

272+
<context id="raw-string" style-ref="string" class="string" class-disabled="no-spell-check">
273+
<start>r(#*)"</start>
274+
<end>"\%{1@start}</end>
275+
<include>
276+
<context ref="def:line-continue"/>
277+
</include>
278+
</context>
279+
272280
<context id="string" style-ref="string" class="string" class-disabled="no-spell-check">
273281
<start>"</start>
274282
<end>"</end>
@@ -287,6 +295,8 @@
287295
<end>\]</end>
288296
<include>
289297
<context ref="def:in-comment"/>
298+
<context ref="string"/>
299+
<context ref="raw-string"/>
290300
</include>
291301
</context>
292302

@@ -305,6 +315,7 @@
305315
<context ref="number"/>
306316
<context ref="scope"/>
307317
<context ref="string"/>
318+
<context ref="raw-string"/>
308319
<context ref="char"/>
309320
<context ref="lifetime"/>
310321
<context ref="attribute"/>

0 commit comments

Comments
 (0)