You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please pardon my ignorance, I'm very new to Textmate grammars.
I am working on a VS Code extension to highlight certains keys in YAML file to improve the DevX when dealing with Hydra config files (that are pure YAMLs).
While trying to select some keys, I realized the first character of each token seem to be its own token?
Example with:
array:
- _target_: what
Notice how _ and target_ are different tokens, and how w and hat are different tokens. In this case, that make it quite hard to select _target_ as a key to apply to it a custom style.
Is that intentional? Is that some obscure part of the YAML spec I am not aware about?
The text was updated successfully, but these errors were encountered:
Please pardon my ignorance, I'm very new to Textmate grammars.
I am working on a VS Code extension to highlight certains keys in YAML file to improve the DevX when dealing with Hydra config files (that are pure YAMLs).
While trying to select some keys, I realized the first character of each token seem to be its own token?
Example with:
Notice how
_
andtarget_
are different tokens, and howw
andhat
are different tokens. In this case, that make it quite hard to select_target_
as a key to apply to it a custom style.Is that intentional? Is that some obscure part of the YAML spec I am not aware about?
The text was updated successfully, but these errors were encountered: