Basic syntax highlighting for message files
%YAML 1.2 | |
--- | |
name: ROS message definition | |
file_extensions: [msg] | |
scope: source.rosmsg | |
contexts: | |
main: | |
- match: \#.*$ | |
scope: comment.line.rosmsg | |
- match: ^\s*(bool|int8|uint8|int16|uint16|int32|uint32|int64|uint64|float32|float64|string|time|duration)\b | |
scope: storage.type.rosmsg | |
- match: \b([A-Z_]+)\s*=\s*(\d+) | |
captures: | |
2: constant.numeric.integer.rosmsg |
This comment has been minimized.
This comment has been minimized.
@gavanderhoorn: It's been a while since I've submitted a package. Next time I'm using ros, I'll try and improve this a little, and then submit it |
This comment has been minimized.
This comment has been minimized.
how do I use it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Have you considered submitting this to package control?