✨ feat(nvim): new live-server plugin
this new plugin has a command for toggling which is useful for doing binds easier than having a start and stop commands
This commit is contained in:
parent
272fa9187a
commit
62c6cce5eb
1 changed files with 8 additions and 4 deletions
|
@ -1,8 +1,12 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"barrett-ruth/live-server.nvim",
|
"aurum77/live-server.nvim",
|
||||||
build = "yarn global add live-server",
|
build = function()
|
||||||
cmd = { "LiveServerStop", "LiveServerStart" },
|
require("live_server.util").install()
|
||||||
config = true,
|
end,
|
||||||
|
cmd = { "LiveServer", "LiveServerStart", "LiveServerStop" },
|
||||||
|
keys = {
|
||||||
|
{ "<leader>cs", "<cmd>LiveServer<CR>", desc = "Toggle LiveServer" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue