mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Add "Git" syntax style
This commit is contained in:
parent
f2c8391a8d
commit
2af95be7a9
@ -5,6 +5,11 @@ Change Log
|
||||
develop
|
||||
--------------------------
|
||||
|
||||
### New Features
|
||||
|
||||
- Add syntax style for “Git”.
|
||||
|
||||
|
||||
### Improvements
|
||||
|
||||
- Optimize text rendering a bit.
|
||||
|
@ -174,6 +174,18 @@
|
||||
|
||||
]
|
||||
},
|
||||
"Git": {
|
||||
"extensions": [
|
||||
|
||||
],
|
||||
"filenames": [
|
||||
"git-rebase-todo",
|
||||
"COMMIT_EDITMSG"
|
||||
],
|
||||
"interpreters": [
|
||||
|
||||
]
|
||||
},
|
||||
"Go": {
|
||||
"extensions": [
|
||||
"go"
|
||||
|
31
CotEditor/Syntaxes/Git.yaml
Normal file
31
CotEditor/Syntaxes/Git.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
extensions: []
|
||||
filenames:
|
||||
- keyString: "git-rebase-todo"
|
||||
- keyString: "COMMIT_EDITMSG"
|
||||
comments: []
|
||||
outlineMenu: []
|
||||
completions: []
|
||||
metadata:
|
||||
distributionURL: "http://coteditor.com"
|
||||
lastModified: "2016-05-17"
|
||||
author: "1024jp"
|
||||
license: "Same as CotEditor"
|
||||
version: "1.0.0"
|
||||
numbers:
|
||||
- beginString: "\\b[0-9a-f]+\\b"
|
||||
description: "hex"
|
||||
regularExpression: true
|
||||
commands:
|
||||
- beginString: "^(pick|reword|edit|squash|fixup|exec|drop)\\b"
|
||||
regularExpression: true
|
||||
description: "rebase commands"
|
||||
values: []
|
||||
keywords: []
|
||||
attributes: []
|
||||
strings: []
|
||||
variables: []
|
||||
commentDelimiters:
|
||||
inlineDelimiter: "#"
|
||||
interpreters: []
|
||||
types: []
|
||||
characters: []
|
Loading…
Reference in New Issue
Block a user