mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-28 21:06:31 -04:00
Added a lot more syntax files (#3)
* Added ct, git, glsl, json, pascal, sol, and text * ct * \n * Added dart, keymap, lily, mail, ocaml, r, and rest
This commit is contained in:
committed by
Zachary Yedidia
parent
d6d0b44fa5
commit
4193133ce4
@@ -0,0 +1,30 @@
|
||||
filetype: git-commit
|
||||
|
||||
detect:
|
||||
filename: "COMMIT_EDITMSG|TAG_EDITMSG"
|
||||
|
||||
rules:
|
||||
# Commit message
|
||||
- ignore: ".*"
|
||||
# Comments
|
||||
- comment:
|
||||
start: "#"
|
||||
end: "$"
|
||||
rules: []
|
||||
# File changes
|
||||
- keyword: "#[[:space:]](deleted|modified|new file|renamed):[[:space:]].*"
|
||||
- keyword: "#[[:space:]]deleted:"
|
||||
- keyword: "#[[:space:]]modified:"
|
||||
- keyword: "#[[:space:]]new file:"
|
||||
- keyword: "#[[:space:]]renamed:"
|
||||
# Untracked filenames
|
||||
- error: "^# [^/?*:;{}\\\\]+\.[^/?*:;{}\\\\]+$"
|
||||
- keyword: "^#[[:space:]]Changes.*[:]"
|
||||
- keyword: "^#[[:space:]]Your branch and '[^']+"
|
||||
- keyword: "^#[[:space:]]Your branch and '"
|
||||
- keyword: "^#[[:space:]]On branch [^ ]+"
|
||||
- keyword: "^#[[:space:]]On branch"
|
||||
# Recolor hash symbols
|
||||
- special: "#"
|
||||
# Trailing spaces (+LINT is not ok, git uses tabs)
|
||||
- error: "[[:space:]]+$"
|
||||
Reference in New Issue
Block a user