mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -04:00
feat: add the zathurarc parser (#5948)
This commit is contained in:
parent
e0420e73c9
commit
94bd4bcc5b
5 changed files with 57 additions and 0 deletions
9
queries/zathurarc/injections.scm
Normal file
9
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