From d82ba4951aa606185d12fb6e02ef871bb330af3d Mon Sep 17 00:00:00 2001 From: Jerome Lelong Date: Sat, 4 May 2024 16:24:58 +0200 Subject: [PATCH] Update grammar files to jlelong/vscode-latex-basics@544570dc5b5dc2199cc0d056272b26954edf0589 --- syntax/TeX.tmLanguage.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/syntax/TeX.tmLanguage.json b/syntax/TeX.tmLanguage.json index 7cb66e821..f96b014c2 100644 --- a/syntax/TeX.tmLanguage.json +++ b/syntax/TeX.tmLanguage.json @@ -101,7 +101,16 @@ "name": "punctuation.definition.function.tex" } }, - "match": "(\\\\)(?:[,;]|(?:[\\p{Alphabetic}@]+(?:(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*)?))", + "match": "(\\\\)(?:[,;]|(?:[\\p{Alphabetic}@]+(?:(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*)?)|(?:_+[\\p{Alphabetic}@]+(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*))", + "name": "support.function.general.tex" + }, + { + "captures": { + "1": { + "name": "punctuation.definition.function.tex" + } + }, + "match": "(\\.)[\\p{Alphabetic}@]+(?:_[\\p{Alphabetic}@]+)*:[NncVvoxefTFpwD]*", "name": "support.function.general.tex" }, {