Add converted syntax files

This commit is contained in:
Zachary Yedidia
2017-03-21 14:55:22 -04:00
parent fa7f89a400
commit b977bf5cca
104 changed files with 1807 additions and 1233 deletions

View File

@@ -1,30 +1,20 @@
filetype: git-commit
detect:
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
- comment: "^#.*"
- statement: "#[[:space:]](deleted|modified|new file|renamed):[[:space:]].*"
- statement: "#[[:space:]]deleted:"
- statement: "#[[:space:]]modified:"
- statement: "#[[:space:]]new file:"
- statement: "#[[:space:]]renamed:"
- 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
- statement: "^#[[:space:]]Changes.*[:]"
- statement: "^#[[:space:]]Your branch and '[^']+"
- statement: "^#[[:space:]]Your branch and '"
- statement: "^#[[:space:]]On branch [^ ]+"
- statement: "^#[[:space:]]On branch"
- special: "#"
# Trailing spaces (+LINT is not ok, git uses tabs)
- error: "[[:space:]]+$"