✨ 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 {
|
||||
{
|
||||
"barrett-ruth/live-server.nvim",
|
||||
build = "yarn global add live-server",
|
||||
cmd = { "LiveServerStop", "LiveServerStart" },
|
||||
config = true,
|
||||
"aurum77/live-server.nvim",
|
||||
build = function()
|
||||
require("live_server.util").install()
|
||||
end,
|
||||
cmd = { "LiveServer", "LiveServerStart", "LiveServerStop" },
|
||||
keys = {
|
||||
{ "<leader>cs", "<cmd>LiveServer<CR>", desc = "Toggle LiveServer" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue