mirror of
https://github.com/cmur2/joe-syntax.git
synced 2024-12-22 02:54:23 +01:00
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
27
dockerfile.jsf
Normal file
27
dockerfile.jsf
Normal file
@ -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
Block a user