mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -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
36
runtime/queries/zathurarc/highlights.scm
Normal file
36
runtime/queries/zathurarc/highlights.scm
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
; General
|
||||
(path) @string.special.path
|
||||
|
||||
(option) @variable.builtin
|
||||
|
||||
(command) @keyword
|
||||
|
||||
(include_directive
|
||||
(command) @keyword.import)
|
||||
|
||||
(mode_name) @type.builtin
|
||||
|
||||
(key) @constant
|
||||
|
||||
(function) @function.call
|
||||
|
||||
(argument) @variable.parameter
|
||||
|
||||
; Comments
|
||||
(comment) @comment @spell
|
||||
|
||||
; Literals
|
||||
(int) @number
|
||||
|
||||
(float) @number.float
|
||||
|
||||
(string) @string
|
||||
|
||||
(bool) @boolean
|
||||
|
||||
[
|
||||
"<"
|
||||
">"
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
9
runtime/queries/zathurarc/injections.scm
Normal file
9
runtime/queries/zathurarc/injections.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(set_directive
|
||||
(option) @_option
|
||||
(string) @injection.content
|
||||
(#eq? @_option "synctex-editor-command")
|
||||
(#offset! @injection.content 0 1 0 -1)
|
||||
(#set! injection.language "bash"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue