Browse Source

Add simple git COMMIT_EDITMSG highlighting

pull/10/head
cn 6 years ago
parent
commit
a5577fbdd7
2 changed files with 24 additions and 0 deletions
  1. +4
    -0
      ftyperc
  2. +20
    -0
      git-commit.jsf

+ 4
- 0
ftyperc View File

@@ -988,3 +988,7 @@
PowerShell
*.ps1
-syntax powershell

Git COMMIT_EDITMSG
*COMMIT_EDITMSG
-syntax git-commit

+ 20
- 0
git-commit.jsf View File

@@ -0,0 +1,20 @@
# JOE syntax highlight file for Markdown

=Idle
=Tag green
=Escape bold
=Bad bold red

=Ignore green

:line_start Idle
* idle noeat
"#" ignore recolor=-1

:idle Idle
* idle
"\n" line_start

:ignore Ignore
* ignore
"\n" line_start

Loading…
Cancel
Save