From 0a7c62b3b22a75f91245a718c1409e4216ae61c8 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 30 Apr 2020 16:49:01 +0200 Subject: Remove rego syntax, fixes #486 --- syntax/thrift.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'syntax/thrift.vim') diff --git a/syntax/thrift.vim b/syntax/thrift.vim index 4dac50fa..806845a6 100644 --- a/syntax/thrift.vim +++ b/syntax/thrift.vim @@ -40,7 +40,8 @@ syn region thriftComment start="/\*" end="\*/" contains=thriftTodo,@Spell syn match thriftComment "//.\{-}\(?>\|$\)\@=" " String -syn region thriftStringDouble matchgroup=None start=+"+ end=+"+ +syn region thriftString start=+"+ skip=+\\"+ end=+"+ +syn region thriftString start=+'+ skip=+\\'+ end=+'+ " Number syn match thriftNumber "-\=\<\d\+\>" contained @@ -55,7 +56,6 @@ syn keyword thriftBasicTypes void bool byte string binary syn keyword thriftBasicTypes i16 i32 i64 double syn keyword thriftType map list set syn keyword thriftClass union struct exception enum -syn region thriftString start=+"+ end=+"+ " Special syn match thriftNumber "\d\+:" @@ -91,7 +91,6 @@ if version >= 508 || !exists("did_thrift_syn_inits") HiLink thriftStatement Statement HiLink thriftInclude Include HiLink thriftClass Type - HiLink thriftString String delcommand HiLink endif -- cgit v1.2.3