mirror of https://github.com/cmur2/joe-syntax.git
New highligher for Dockerfile
Very simple parser only recognizing comments and the COMMAND at beginning of a line.
This commit is contained in:
parent
47a1b1a1f0
commit
a3c24a4c8c
|
@ -0,0 +1,27 @@
|
|||
# JOE syntax highlight file for Dockerfile
|
||||
|
||||
=Idle
|
||||
=Comment green
|
||||
=Instruction blue
|
||||
|
||||
:idle Idle
|
||||
* arguments
|
||||
"a-zA-Z" instruction noeat
|
||||
"#" comment recolor=-1
|
||||
"\n" idle
|
||||
|
||||
:comment Comment
|
||||
* comment
|
||||
"\n" idle
|
||||
|
||||
:instruction Instruction
|
||||
* instruction
|
||||
" \t" arguments noeat
|
||||
|
||||
:arguments Idle
|
||||
* arguments
|
||||
"\n" idle
|
||||
"#" comment
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue