Skip to content

Instantly share code, notes, and snippets.

Created May 8, 2016 15:19
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Basic syntax highlighting for message files
%YAML 1.2
name: ROS message definition
file_extensions: [msg]
scope: source.rosmsg
- 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+)
2: constant.numeric.integer.rosmsg
Copy link

Have you considered submitting this to package control?

Copy link

@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

Copy link

how do I use it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment