Skip to content

Commit 196180b

Browse files
authored
Add Git Commit language (#7596)
* Add Git Commit language * Use my new grammar * Update submodule * poke ci * update dep hash
1 parent 1d913bb commit 196180b

File tree

6 files changed

+30
-2
lines changed

6 files changed

+30
-2
lines changed

grammars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ vendor/grammars/NovaGrammars:
8888
- source.solution
8989
- source.win32-messages
9090
- source.ws
91+
- text.git-commit
9192
- text.hash-commented
9293
- text.robots-txt
9394
vendor/grammars/ObjectScript.tmBundle:

lib/linguist/languages.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2580,6 +2580,17 @@ Git Attributes:
25802580
codemirror_mode: shell
25812581
codemirror_mime_type: text/x-sh
25822582
language_id: 956324166
2583+
Git Commit:
2584+
type: data
2585+
color: "#F44D27"
2586+
aliases:
2587+
- commit
2588+
filenames:
2589+
- COMMIT_EDITMSG
2590+
ace_mode: text
2591+
tm_scope: text.git-commit
2592+
wrap: true
2593+
language_id: 131750475
25832594
Git Config:
25842595
type: data
25852596
color: "#F44D27"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
updated css for all pages
2+
# Please enter the commit message for your changes. Lines starting
3+
# with '#' will be ignored, and an empty message aborts the commit.
4+
#
5+
# On branch master
6+
# Changes to be committed:
7+
# new file: cv.css
8+
# modified: cv.html
9+
# new file: cvdraft.html
10+
# modified: index.css
11+
# modified: index.html
12+
#
13+
# Changes not staged for commit:
14+
# deleted: home.css
15+
#

vendor/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
220220
- **Gettext Catalog:** [textmate/gettext.tmbundle](https://github.com/textmate/gettext.tmbundle)
221221
- **Gherkin:** [cucumber/cucumber-tmbundle](https://github.com/cucumber/cucumber-tmbundle)
222222
- **Git Attributes:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
223+
- **Git Commit:** [Nixinova/NovaGrammars](https://github.com/Nixinova/NovaGrammars)
223224
- **Git Config:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
224225
- **Git Revision List:** [Nixinova/NovaGrammars](https://github.com/Nixinova/NovaGrammars)
225226
- **Gleam:** [gleam-lang/tree-sitter-gleam](https://github.com/gleam-lang/tree-sitter-gleam) 🐌

vendor/licenses/git_submodule/NovaGrammars.dep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: NovaGrammars
3-
version: b675183505ba8e8931a31351bf62954a18c1a14a
3+
version: c6dfb955f070c5aaf3ca7f6ee8d0b1802c6aed95
44
type: git_submodule
55
homepage: https://github.com/Nixinova/NovaGrammars
66
license: isc

0 commit comments

Comments
 (0)