Live server plugin for nvim installed
This commit is contained in:
parent
af0c5c0825
commit
9d153ecfca
2 changed files with 9 additions and 1 deletions
8
.config/nvim/lua/plugins/live-server.lua
Normal file
8
.config/nvim/lua/plugins/live-server.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"barrett-ruth/live-server.nvim",
|
||||||
|
build = "yarn global add live-server",
|
||||||
|
cmd = { "LiveServerStop", "LiveServerStart" },
|
||||||
|
config = true,
|
||||||
|
},
|
||||||
|
}
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue