-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d7f4ed
commit a3fa754
Showing
3 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
# tree-sitter-gitattributes | ||
|
||
[![CI][badge]](https://github.com/ObserverOfTime/tree-sitter-gitattributes/actions) | ||
[![CI][ci]](https://github.com/tree-sitter-grammars/tree-sitter-gitattributes/actions/workflows/ci.yml) | ||
[![discord][discord]](https://discord.gg/w7nTvsVJhm) | ||
[![matrix][matrix]](https://matrix.to/#/#nvim-treesitter:matrix.org) | ||
|
||
A tree-sitter parser for `.gitattributes` files. | ||
|
||
## References | ||
|
||
* [gitattributes Documentation](https://git-scm.com/docs/gitattributes|) | ||
* [gitignore Documentation (Pattern Format)](https://git-scm.com/docs/gitignore#_pattern_format) | ||
* [git source code (`attr.c`)](https://github.com/git/git/blob/master/attr.c) | ||
* [git source code (`wildmatch.c`)](https://github.com/git/git/blob/master/wildmatch.c) | ||
* [ANSI-C Quoting](https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html) | ||
* [Character Classes and Bracket Expressions](https://www.gnu.org/software/grep/manual/html_node/Character-Classes-and-Bracket-Expressions.html) | ||
* [gitattributes Documentation](https://git-scm.com/docs/gitattributes|) | ||
* [gitignore Documentation (Pattern Format)](https://git-scm.com/docs/gitignore#_pattern_format) | ||
* [git source code (`attr.c`)](https://github.com/git/git/blob/master/attr.c) | ||
* [git source code (`wildmatch.c`)](https://github.com/git/git/blob/master/wildmatch.c) | ||
* [ANSI-C Quoting](https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html) | ||
* [Character Classes and Bracket Expressions](https://www.gnu.org/software/grep/manual/html_node/Character-Classes-and-Bracket-Expressions.html) | ||
|
||
## Editors | ||
|
||
- [x] Neovim | ||
- [ ] Helix _(has alternative)_ | ||
- [x] Emacs | ||
- [ ] Zed | ||
|
||
[badge]: https://badgen.net/github/checks/ObserverOfTime/tree-sitter-gitattributes?label=CI&icon=github | ||
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter-grammars/tree-sitter-gitattributes/ci.yml?logo=github&label=CI | ||
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=tree-sitter | ||
[matrix]: https://img.shields.io/matrix/nvim-treesitter%3Amatrix.org?logo=matrix&label=nvim-treesitter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"version": "0.1.4", | ||
"license": "MIT", | ||
"description": "gitattributes grammar for tree-sitter", | ||
"repository": "ObserverOfTime/tree-sitter-gitattributes", | ||
"repository": "tree-sitter-grammars/tree-sitter-gitattributes", | ||
"author": { | ||
"name": "ObserverOfTime", | ||
"email": "[email protected]", | ||
|
@@ -25,7 +25,7 @@ | |
"nan": "^2.18.0" | ||
}, | ||
"devDependencies": { | ||
"tree-sitter-cli": "^0.20.8" | ||
"tree-sitter-cli": "~0.20.8" | ||
}, | ||
"tree-sitter": [ | ||
{ | ||
|