mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
55
runtime/queries/muttrc/highlights.scm
Normal file
55
runtime/queries/muttrc/highlights.scm
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
; Comments
|
||||
(comment) @comment @spell
|
||||
|
||||
; General
|
||||
(int) @number
|
||||
|
||||
(string) @string
|
||||
|
||||
[
|
||||
(map)
|
||||
(object)
|
||||
(composeobject)
|
||||
(color)
|
||||
(attribute)
|
||||
] @string.special
|
||||
|
||||
(quadoption) @boolean
|
||||
|
||||
(path) @string.special.path
|
||||
|
||||
(regex) @string.regexp
|
||||
|
||||
(option) @variable
|
||||
|
||||
(command_line_option) @variable.builtin
|
||||
|
||||
((option) @variable.builtin
|
||||
(#not-lua-match? @variable.builtin "^my_"))
|
||||
|
||||
(command) @keyword
|
||||
|
||||
(source_directive
|
||||
(command) @keyword.import)
|
||||
|
||||
(uri) @string.special.url
|
||||
|
||||
(key_name) @constant.builtin
|
||||
|
||||
(escape) @string.escape
|
||||
|
||||
(function) @function.call
|
||||
|
||||
; Literals
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket
|
||||
|
||||
"," @punctuation.delimiter
|
||||
|
||||
[
|
||||
"&"
|
||||
"?"
|
||||
"*"
|
||||
] @character.special
|
||||
8
runtime/queries/muttrc/injections.scm
Normal file
8
runtime/queries/muttrc/injections.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
((regex) @injection.content
|
||||
(#set! injection.language "regex"))
|
||||
|
||||
((shell) @injection.content
|
||||
(#set! injection.language "bash"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue