From 9deb43ba53467f6803b5e4631a5537b60562dd49 Mon Sep 17 00:00:00 2001 From: nrayburn Date: Tue, 11 Feb 2020 21:45:44 -0600 Subject: [PATCH] Add _ as a supported item for tags and keywords --- src/python/python.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/python.ts b/src/python/python.ts index 87112bf1..dfff3bfe 100644 --- a/src/python/python.ts +++ b/src/python/python.ts @@ -202,8 +202,8 @@ export const language = { [/[,:;]/, 'delimiter'], [/[{}\[\]()]/, '@brackets'], - [/@[a-zA-Z]\w*/, 'tag'], - [/[a-zA-Z]\w*/, { + [/@[a-zA-Z_]\w*/, 'tag'], + [/[a-zA-Z_]\w*/, { cases: { '@keywords': 'keyword', '@default': 'identifier'