dotfiles/.config/nvim/lua/plugins/extras/editor/live-server.lua
Sergio Laín d9122f1e65
feat(nvim): add ft to tsc and live server keys
didnt know you could do that, thats amazing!
2023-12-26 20:48:35 +01:00

10 lines
270 B
Lua

return {
"aurum77/live-server.nvim",
build = function()
require("live_server.util").install()
end,
cmd = { "LiveServer", "LiveServerStart", "LiveServerStop" },
keys = {
{ "<leader>cV", ft = "html", "<cmd>LiveServer<CR>", desc = "Live Server" },
},
}