|
|
@ -9,6 +9,14 @@ G1 X100 Y100 ; Move to 100,100
|
|
|
|
; ^constant.numeric.param.gcode
|
|
|
|
; ^constant.numeric.param.gcode
|
|
|
|
; ^comment
|
|
|
|
; ^comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
T0 (This is a comment) S12
|
|
|
|
|
|
|
|
;^entity.command.gcode
|
|
|
|
|
|
|
|
; ^punctuation.paren.comment.open
|
|
|
|
|
|
|
|
; ^paren.comment.gcode
|
|
|
|
|
|
|
|
; ^punctuation.paren.comment.close
|
|
|
|
|
|
|
|
; ^keyword.param.gcode
|
|
|
|
|
|
|
|
; ^constant.numeric.param.gcode
|
|
|
|
|
|
|
|
|
|
|
|
M20 P'/path/to/macro/macro.g' R12
|
|
|
|
M20 P'/path/to/macro/macro.g' R12
|
|
|
|
;<-entity.command.gcode
|
|
|
|
;<-entity.command.gcode
|
|
|
|
;^constant.numeric.command.gcode
|
|
|
|
;^constant.numeric.command.gcode
|
|
|
@ -16,6 +24,8 @@ M20 P'/path/to/macro/macro.g' R12
|
|
|
|
; ^punctuation.quote.single.open.gcode
|
|
|
|
; ^punctuation.quote.single.open.gcode
|
|
|
|
; ^string.quoted.single.gcode
|
|
|
|
; ^string.quoted.single.gcode
|
|
|
|
; ^punctuation.quote.single.close.gcode
|
|
|
|
; ^punctuation.quote.single.close.gcode
|
|
|
|
|
|
|
|
; ^keyword.param.gcode
|
|
|
|
|
|
|
|
; ^constant.numeric.param.gcode
|
|
|
|
|
|
|
|
|
|
|
|
M117 This is a message ; and comment
|
|
|
|
M117 This is a message ; and comment
|
|
|
|
;<-entity.command.gcode
|
|
|
|
;<-entity.command.gcode
|
|
|
@ -86,3 +96,11 @@ N234 G1 X-5 Y+2 *64 error
|
|
|
|
N234 M107 *64
|
|
|
|
N234 M107 *64
|
|
|
|
; ^-invalid.error.syntax.gcode
|
|
|
|
; ^-invalid.error.syntax.gcode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
M92 E304.5:304.5:420:420:420:420 ; EOL Comment
|
|
|
|
|
|
|
|
;<-entity.command.gcode
|
|
|
|
|
|
|
|
;^constant.numeric.command.gcode
|
|
|
|
|
|
|
|
; ^keyword.param.gcode
|
|
|
|
|
|
|
|
; ^constant.numeric.param.gcode
|
|
|
|
|
|
|
|
; ^constant.numeric.param.gcode
|
|
|
|
|
|
|
|
; ^punctuation.comment.eol.start
|
|
|
|
|
|
|
|
; ^comment.gcode
|
|
|
|