Live server plugin for nvim installed

This commit is contained in:
Sergio Laín 2023-09-22 10:48:02 +02:00
parent af0c5c0825
commit 9d153ecfca
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,8 @@
return {
{
"barrett-ruth/live-server.nvim",
build = "yarn global add live-server",
cmd = { "LiveServerStop", "LiveServerStart" },
config = true,
},
}

View file

@ -23,7 +23,7 @@ return {
-- The plugin will try to auto-detect the package manager based on -- The plugin will try to auto-detect the package manager based on
-- `yarn.lock` or `package-lock.json`. If none are found it will use the -- `yarn.lock` or `package-lock.json`. If none are found it will use the
-- provided one, if nothing is provided it will use `yarn` -- provided one, if nothing is provided it will use `yarn`
package_manager = "npm", package_manager = "yarn",
}) })
end, end,
}, },