mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
add: live server
This commit is contained in:
parent
4ba72487b4
commit
ef6ac90acf
3 changed files with 13 additions and 1 deletions
11
lua/plugins/liveserver.lua
Normal file
11
lua/plugins/liveserver.lua
Normal 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" },
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue