feat(treesitter): replace nvim-treesitter with pack-managed parsers
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
; SPDX-License-Identifier: Apache-2.0
|
||||
; Source: nvim-treesitter (https://github.com/nvim-treesitter/nvim-treesitter)
|
||||
|
||||
(comment) @comment
|
||||
|
||||
(generated_comment) @comment
|
||||
|
||||
(title) @markup.heading
|
||||
|
||||
; (text) @none
|
||||
(branch) @markup.link
|
||||
|
||||
(change) @keyword
|
||||
|
||||
(filepath) @string.special.path
|
||||
|
||||
(arrow) @punctuation.delimiter
|
||||
|
||||
(subject) @markup.heading @spell
|
||||
|
||||
(subject
|
||||
(subject_prefix) @function @nospell)
|
||||
|
||||
(prefix
|
||||
(type) @keyword @nospell)
|
||||
|
||||
(prefix
|
||||
(scope) @variable.parameter @nospell)
|
||||
|
||||
(prefix
|
||||
[
|
||||
"("
|
||||
")"
|
||||
":"
|
||||
] @punctuation.delimiter)
|
||||
|
||||
(prefix
|
||||
"!" @punctuation.special)
|
||||
|
||||
(message) @spell
|
||||
|
||||
(trailer
|
||||
(token) @label)
|
||||
|
||||
; (trailer (value) @none)
|
||||
(breaking_change
|
||||
(token) @comment.error)
|
||||
|
||||
(breaking_change
|
||||
(value) @none @spell)
|
||||
|
||||
(scissor) @comment
|
||||
Reference in New Issue
Block a user