feat(treesitter): replace nvim-treesitter with pack-managed parsers

This commit is contained in:
2026-04-12 11:46:54 +02:00
parent ec81afbab7
commit cf898d1fee
107 changed files with 8555 additions and 13 deletions
+52
View File
@@ -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
+8
View File
@@ -0,0 +1,8 @@
; SPDX-License-Identifier: Apache-2.0
; Source: nvim-treesitter (https://github.com/nvim-treesitter/nvim-treesitter)
((diff) @injection.content
(#set! injection.language "diff"))
((rebase_command) @injection.content
(#set! injection.language "git_rebase"))