Skip to content

Commit 9924277

Browse files
committed
Merge pull request #64 from Screwtapello/patch-1
Don't accept unicode escapes without curly braces.
2 parents 2fa3e21 + d8e2f51 commit 9924277

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

syntax/rust.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ syn match rustMacro '#\w\(\w\)*' contains=rustAssert,rustPanic
125125

126126
syn match rustEscapeError display contained /\\./
127127
syn match rustEscape display contained /\\\([nrt0\\'"]\|x\x\{2}\)/
128-
syn match rustEscapeUnicode display contained /\\\(u\x\{4}\|U\x\{8}\)/
129128
syn match rustEscapeUnicode display contained /\\u{\x\{1,6}}/
130129
syn match rustStringContinuation display contained /\\\n\s*/
131130
syn region rustString start=+b"+ skip=+\\\\\|\\"+ end=+"+ contains=rustEscape,rustEscapeError,rustStringContinuation

0 commit comments

Comments
 (0)