-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Labels
Description
Contributing guidelines
- I have read CONTRIBUTING.md
- I have read CODE_OF_CONDUCT.md
- I have updated 'mini.nvim' to latest version
Module(s)
mini.deps
Description
I want to install luasnip https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#install.
This requires to run make after pulling the plugin make install_jsregexp.
Neovim version
NVIM v0.10.0-dev-3050+gcb24a3907
Steps to reproduce
I am trying something like this:
later(function()
local build = function(path) vim.system({ "make", "-C", path, "install_jsregexp" }) end
add({
source = "L3MON4D3/LuaSnip",
hooks = {
post_install = function(path)
later(function() build(path) end)
end,
post_checkout = build,
},
})
local luasnip = require("luasnip")
require("luasnip").config.setup({})
end)Expected behavior
jsregexp is available to luasnip after starting vim
Actual behavior
But :checkhealth is reporting
luasnip ~
- WARNING For Variable/Placeholder-transformations, luasnip requires
the jsregexp library. See `:help |luasnip-lsp-snippets-transformations`| for advice
There are no other messages while starting vim or reinstalling plugins. And nothing in :DepsShowLog.
shishi