feat: enabled ts-plugin
support for astro
and svelte
This commit is contained in:
@ -246,7 +246,9 @@ function M.get_pkg_path(pkg, path, opts)
|
||||
path = path or ""
|
||||
local ret = root .. "/packages/" .. pkg .. "/" .. path
|
||||
if opts.warn and not vim.loop.fs_stat(ret) then
|
||||
M.warn(("Mason package path not found for **%s**:\n- `%s`"):format(pkg, path))
|
||||
M.warn(
|
||||
("Mason package path not found for **%s**:\n- `%s`\nYou may need to force update the package."):format(pkg, path)
|
||||
)
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
Reference in New Issue
Block a user