Skip to content

How can I find the git root of a installed plugin inside its config function? #894

Closed Answered by folke
glyh asked this question in Q&A
Discussion options

You must be logged in to vote
config = function(plugin, opts)
  vim.print(plugin.dir)
end

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@glyh
Comment options

Answer selected by glyh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants