From 296492e47ddabe2b1d7f73e728f96cf10d3d1aa0 Mon Sep 17 00:00:00 2001 From: Torben Ewert Date: Sat, 5 Mar 2022 21:23:34 +0100 Subject: [PATCH] Add fragment as jsx token --- syntaxes/pinc.tmLanguage.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/syntaxes/pinc.tmLanguage.json b/syntaxes/pinc.tmLanguage.json index 0993b74..09a6a93 100644 --- a/syntaxes/pinc.tmLanguage.json +++ b/syntaxes/pinc.tmLanguage.json @@ -207,6 +207,22 @@ }, "jsx": { "patterns": [ + { + "match": "\\s*(<>)", + "captures": { + "0": { + "name": "punctuation.definition.tag" + } + } + }, + { + "match": "\\s*()", + "captures": { + "0": { + "name": "punctuation.definition.tag" + } + } + }, { "match": "\\s*(/>)", "captures": { -- 2.51.2