mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
8
runtime/queries/po/folds.scm
Normal file
8
runtime/queries/po/folds.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[
|
||||
(msgctxt)
|
||||
(msgid)
|
||||
(msgid_plural)
|
||||
(msgstr)
|
||||
(msgstr_plural)
|
||||
(message)
|
||||
] @fold
|
||||
32
runtime/queries/po/highlights.scm
Normal file
32
runtime/queries/po/highlights.scm
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
; Keywords
|
||||
[
|
||||
"msgctxt"
|
||||
"msgid"
|
||||
"msgid_plural"
|
||||
"msgstr"
|
||||
"msgstr_plural"
|
||||
] @keyword
|
||||
|
||||
; Punctuation
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
; Literals
|
||||
(string) @string
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(number) @number
|
||||
|
||||
; Comments
|
||||
(comment) @comment @spell
|
||||
|
||||
(comment
|
||||
(reference
|
||||
(text) @string.special.path))
|
||||
|
||||
(comment
|
||||
(flag
|
||||
(text) @keyword.directive))
|
||||
2
runtime/queries/po/injections.scm
Normal file
2
runtime/queries/po/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue