fixup! package: add nvf-queries package

This commit is contained in:
Ching Pei Yang 2025-04-19 22:24:04 +02:00
commit b9badafebe
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -33,3 +33,21 @@
(string_fragment) @injection.content)
]
(#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))