From 5bfd2e4025c0c3c43acac7da7d8d30f7599f4a6d Mon Sep 17 00:00:00 2001 From: Julien Moutinho <julm+hdoc@autogeree.net> Date: Fri, 11 May 2018 19:16:55 +0200 Subject: [PATCH] Fix vim syntax. --- vim/syntax/tct.vim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vim/syntax/tct.vim b/vim/syntax/tct.vim index f332d07..35a15c8 100644 --- a/vim/syntax/tct.vim +++ b/vim/syntax/tct.vim @@ -116,10 +116,10 @@ syn cluster tctBlock contains=tctPath,tctSection " Inline syn match tctBold - \ /\(^\|[  `â«»/"|_,.:;@^!?=~%(){}[\]\\&+-]\)\zs\*[^ *]\([^*]*[^ *]\)\?\*\ze\([  `â«»/"|_,.:;@^!?=~%(){}[\]\\&+-]\|$\)/ + \ /\(^\|[  `â«»/"|_,.:â¦;@^!?=~%(){}[\]\\&+-]\)\zs\*[^ *]\([^*]*[^ *]\)\?\*\ze\([  `â«»/"|_,.:â¦;@^!?=~%(){}[\]\\&+-]\|$\)/ \ contained contains=@tctInline syn match tctCode - \ /\(^\|[  *â«»/"|_,.:;@^!?=~%(){}[\]\\&+-]\)\zs`[^ `]\([^`]*[^ `]\)\?`\ze\([  *â«»/"|_,.:;@^!?=~%(){}[\]\\&+-]\|$\)/ + \ /\(^\|[  *â«»/"|_,.:â¦;@^!?=~%(){}[\]\\&+-]\)\zs`[^ `]\([^`]*[^ `]\)\?`\ze\([  *â«»/"|_,.:â¦;@^!?=~%(){}[\]\\&+-]\|$\)/ \ contained contains=@tctInline syn match tctE \ /<\/\?[^ >]\+\/\?>/ @@ -134,16 +134,16 @@ syn match tctQuoteFrench \ /«.\{-}»/ \ contained contains=@tctInline syn match tctItalic - \ /\(^\|[  *`â«»"'â|_,.:;@^!?=~<>%(){}[\]\\#&+-]\)\zs\/[^ /]\([^/]*[^ /]\)\?\/\ze\([  *`â«»"'â|_,.:;@^!?=~<>%(){}[\]\\#&+-]\|$\)/ + \ /\(^\|[  *`â«»"'â|_,.:â¦;@^!?=~<>%(){}[\]\\#&+-]\)\zs\/[^ /]\([^/]*[^ /]\)\?\/\ze\([  *`â«»"'â|_,.:â¦;@^!?=~<>%(){}[\]\\#&+-]\|$\)/ \ contained contains=@tctInline syn match tctQuote - \ /\(^\|[  *`â«»/'â|_,.:;@^!?=~<>%(){}[\]\\#&+-]\)\zs"[^ "]\([^"]*[^ "]\)\?"\ze\([  *`â«»/'â|_,.:;@^!?=~<>%(){}[\]\\#&+-]\|$\)/ + \ /\(^\|[  *`â«»/'â|_,.:â¦;@^!?=~<>%(){}[\]\\#&+-]\)\zs"[^ "]\([^"]*[^ "]\)\?"\ze\([  *`â«»/'â|_,.:â¦;@^!?=~<>%(){}[\]\\#&+-]\|$\)/ \ contained contains=@tctInline syn match tctTag - \ /\(^\|[  *`â«»/"'â|_,.:;@^!?=~<>%(){}[\]\&+-]\)\zs#\([^ #]\([^#]*[^ #]\)\?#\|[^ #]*[^# *`â«»/"'â|_,.:;@^!?=~<>%(){}[\]\&+-]\)\ze\([  *`â«»/"'â|_,.:;@^!?=~<>%(){}[\]\&+-]\|$\)/ + \ /\(^\|[  *`â«»/"'â|_,.:â¦;@^!?=~<>%(){}[\]\&+-]\)\zs#\([^ #]\([^#]*[^ #]\)\?#\|[^ #]*[^# *`â«»/"'â|_,.:â¦;@^!?=~<>%(){}[\]\&+-]\)\ze\([  *`â«»/"'â|_,.:â¦;@^!?=~<>%(){}[\]\&+-]\|$\)/ \ contained contains=@tctInline syn match tctUnderline - \ /\(^\|[  *`â«»/"'â|,.:;@!?=~<>%(){}[\]\\#&+-]\)\zs_.*_\ze\([  *`â«»/"'â|,.:;@!?=~<>%(){}[\]\\#&+-]\|$\)/ + \ /\(^\|[  *`â«»/"'â|,.:â¦;@!?=~<>%(){}[\]\\#&+-]\)\zs_.*_\ze\([  *`â«»/"'â|,.:â¦;@!?=~<>%(){}[\]\\#&+-]\|$\)/ \ contained contains=@tctInline syn match tctURL \ /[a-z+-]\+:\/\/[^| \t[\]]*\(\[[^\]]*\]\)\?/ -- 2.47.2