1
0
mirror of https://github.com/cmur2/joe-syntax.git synced 2024-12-22 12: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:
cn 2017-02-04 23:41:34 +01:00
parent 47a1b1a1f0
commit a3c24a4c8c
2 changed files with 31 additions and 0 deletions

27
dockerfile.jsf Normal file
View 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

View File

@ -1033,3 +1033,7 @@
-autoindent -autoindent
-syntax scheme -syntax scheme
-semi_comment -semi_comment
Docker
*Dockerfile
-syntax dockerfile