mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 05:50:04 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
9
runtime/queries/po/folds.scm
Normal file
9
runtime/queries/po/folds.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[
|
||||
(msgctxt)
|
||||
(msgid)
|
||||
(msgid_plural)
|
||||
(msgstr)
|
||||
(msgstr_plural)
|
||||
|
||||
(message)
|
||||
] @fold
|
||||
33
runtime/queries/po/highlights.scm
Normal file
33
runtime/queries/po/highlights.scm
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
; 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) @preproc))
|
||||
|
||||
; Errors
|
||||
|
||||
(ERROR) @error
|
||||
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