summaryrefslogtreecommitdiffstats
path: root/syntax/thrift.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-04-30 16:49:01 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-04-30 16:49:01 +0200
commit0a7c62b3b22a75f91245a718c1409e4216ae61c8 (patch)
tree0aa7ff145cf6d7444204350ba97d8c57d404cb5c /syntax/thrift.vim
parentc7b5826d53f3f4fe31e8168e1d8c6d7b19e60f4b (diff)
downloadvim-polyglot-0a7c62b3b22a75f91245a718c1409e4216ae61c8.tar.gz
vim-polyglot-0a7c62b3b22a75f91245a718c1409e4216ae61c8.zip
Remove rego syntax, fixes #486
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