dotfiles/.config/nvim/lua/plugins/live-server.lua
Sergio Laín 62c6cce5eb
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
2023-10-06 12:50:38 +02:00

12 lines
328 B
Lua

return {
{
"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" },
},
},
}