MinecraftCommands / syntax-mcfunction

Syntax highlighting for mcfunction files.
MIT License
43 stars 3 forks source link

Bug: true/false keywords in scores/player_names/tag #10

Closed FunkyToc closed 5 months ago

FunkyToc commented 10 months ago

What type of issues are you dealing with?

Incorrect highlighting, Coloring or scope inconsistency

What happened?

"True / true / False / false" keywords lead to wrong highlight. image image

Which text editors are you seeing the problem on?

Sublime Text

Include a code snippet

execute if score True_fakeplayer True_score matches 1 run function nm:func
execute if score true_fakeplayer true_score matches 1 run function nm:func
execute if score False_fakeplayer False_score matches 1 run function nm:func
execute if score false_fakeplayer false_score matches 1 run function nm:func

tag @s add True_tag
tag @s add true_tag
tag @s add False_tag
tag @s add false_tag
RitikShah commented 5 months ago

fixed