summaryrefslogtreecommitdiffstats
path: root/syntax/thrift.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/thrift.vim')
-rw-r--r--syntax/thrift.vim5
1 files changed, 2 insertions, 3 deletions
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