mirror of
https://github.com/cmur2/joe-syntax.git
synced 2026-10-22 04:45:16 +02:00
New highligher for Dockerfile
Very simple parser only recognizing comments and the COMMAND at beginning of a line.
This commit is contained in:
1 parent
47a1b1a1f0
commit
a3c24a4c8c
2 files changed
+31
No files matched your search
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user