-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Example: https://nix-community.github.io/nixvim/plugins/trouble/luaConfig.html
The keys are programs.nixvim.plugins.<words-including-dashes>.luaConfig.pre and .post.
; Lua
(binding
attrpath: (_) @_path
(#hmts-path? @_path "programs" "nixvim" "plugins" ".*" "luaConfig" "(post|pre)$")
expression: (_ (string_fragment) @injection.content)
(#set! injection.language "lua")
(#set! injection.combined)
)
Is the snippet above correct? (I just copied the Zsh section and changed the language and path.)
Usually programs.nixvim is not seen in the same file because it is imported under that key.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request