How to write post-update hooks a la vim-plug? #1765
-
With I'm struggling to figure out how to do the same with config = function()
local data = vim.fn.stdpath("data")
os.execute("cp " .. data .. "/lazy/vim-kitty-navigator/*.py ~/.config/kitty/")
end, but this obviously runs on every load, which is much more often than I want. Is there a way to do the above only when the plugin is installed or updated? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
based on the docs the build spec meets your requirements; it runs on install and when you update the plugin. |
Beta Was this translation helpful? Give feedback.
based on the docs the build spec meets your requirements; it runs on install and when you update the plugin.