Skip to content

Commit bc9ce7c

Browse files
committed
🩹 Allowing underscores works better
Allowing underscores doesn't turn all NBT paths with an underscore into an unquoted string.
1 parent 3d8e6b8 commit bc9ce7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcfunction.tmLanguage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ repository:
308308
- captures:
309309
"0":
310310
name: entity.name.mcfunction
311-
match: '[A-Za-z]+(?=[^\w\.])'
311+
match: '[A-Za-z_]+(?=\\W)'
312312
name: meta.names
313313
- captures:
314314
"0":

0 commit comments

Comments
 (0)