mirror of
https://github.com/L3MON4D3/LuaSnip
synced 2024-09-16 21:54:03 +02:00
14 lines
389 B
Lua
14 lines
389 B
Lua
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,
|
|
}
|