mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 15:35:30 +00:00
fixup! package: add nvf-queries package
This commit is contained in:
parent
53ad1b2c14
commit
b9badafebe
1 changed files with 18 additions and 0 deletions
|
|
@ -33,3 +33,21 @@
|
||||||
(string_fragment) @injection.content)
|
(string_fragment) @injection.content)
|
||||||
]
|
]
|
||||||
(#set! injection.language "lua"))
|
(#set! injection.language "lua"))
|
||||||
|
|
||||||
|
(apply_expression
|
||||||
|
function: (apply_expression
|
||||||
|
function: [
|
||||||
|
(variable_expression
|
||||||
|
name: (identifier) @_func)
|
||||||
|
;; matches lib.nvim.bla.bla.entryBefore
|
||||||
|
(select_expression
|
||||||
|
expression: (variable_expression)
|
||||||
|
attrpath: (attrpath
|
||||||
|
attr: (identifier) @_func .))
|
||||||
|
]
|
||||||
|
argument: _)
|
||||||
|
argument: (indented_string_expression
|
||||||
|
(string_fragment) @injection.content)
|
||||||
|
(#match? @_func "^entry(Anywhere|After|Before)$")
|
||||||
|
(#set! injection.language "lua")
|
||||||
|
(#set! injection.combined))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue