From 23c22ba281dd9c4fece76574b54ca709b96b3ff5 Mon Sep 17 00:00:00 2001 From: A4-Tacks Date: Tue, 16 Jan 2024 08:41:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96vim=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E9=AB=98=E4=BA=AE=E4=B8=AD=E5=AF=B9=E5=8F=8C=E5=BC=95=E5=8F=B7?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E6=97=A0=E6=95=88=E8=BD=AC=E4=B9=89=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E8=BE=B9=E7=95=8C=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- syntax/vim/mdtlbl.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/vim/mdtlbl.vim b/syntax/vim/mdtlbl.vim index 25af9d6..a5a346e 100644 --- a/syntax/vim/mdtlbl.vim +++ b/syntax/vim/mdtlbl.vim @@ -50,7 +50,7 @@ setlocal commentstring=#%s setlocal formatoptions+=rq " 值(Var) {{{1 -syn match mdtlblStringFailedEscape /\\./ contained +syn match mdtlblStringFailedEscape /\\\%("\@=\|.\)/ contained syn match mdtlblStringColor /\[\v%(#\x{6,8}|%(c%(lear|yan|oral)|b%(l%(ack|ue)|r%(own|ick))|white|li%(ghtgray|me)|g%(r%(ay|een)|old%(enrod)?)|darkgray|navy|r%(oyal|ed)|s%(late|ky|carlet|almon)|t%(eal|an)|acid|forest|o%(live|range)|yellow|p%(ink|urple)|ma%(genta|roon)|violet))\]/ contained syn match mdtlblSpecialChar /^ *\\ \|\\\%([n\\[]\|$\)/ contained syn region mdtlblString start=/"/ end=/"/ contains=mdtlblSpecialChar,mdtlblStringFailedEscape,mdtlblStringColor