blob: a06fea1221b24a1e4600bbc83f5e9525bbe3da64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
return {
check = function()
vim.health.start("luasnip")
local jsregexp = require("luasnip.util.jsregexp")
if jsregexp then
vim.health.ok("jsregexp is installed")
else
vim.health.warn([[
For Variable/Placeholder-transformations, luasnip requires
the jsregexp library. See `:h luasnip-lsp-snippets-transformations` for advice
]])
end
end,
}
|