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