add: live server

This commit is contained in:
asep.komarudin 2024-06-30 11:15:37 +07:00
parent 4ba72487b4
commit ef6ac90acf
3 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,11 @@
return {
"barrett-ruth/live-server.nvim",
build = "npm i -g live-server",
cmd = { "LiveServerStart", "LiveServerStop" },
config = true,
keys = {
{ "<leader>rl", "", desc = " LiveServer" },
{ "<leader>rls", "<cmd>LiveServerStart<cr>", desc = "LiveServerStart" },
{ "<leader>rlq", "<cmd>LiveServerStop<cr>", desc = "LiveServerStop" },
},
}