Skip to content

Textmate grammar support for indexed properties  #283

@xorye

Description

@xorye

For property keys that contain symbols like [ and #, the properties textmate grammar displays incorrect highlighting.

For example, for openshift.config-map-volumes[0].config-map-name, the property key is not highlighted in blue:

image

For properties that contain #:
image

Currently, the TextMate grammar assumes that property keys are only composed of: \/a-zA-Z0-9%_.-

"match": "^\\s*([\\/a-zA-Z0-9%_.-]+)\\s*(?=[=\\\\])"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions