feat: add html live preview
This commit is contained in:
parent
84216db412
commit
0509cb1e09
3 changed files with 20 additions and 1 deletions
13
home/config/nvim/lua/plugins/live-preview.lua
Normal file
13
home/config/nvim/lua/plugins/live-preview.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
{
|
||||
"brianhuster/live-preview.nvim",
|
||||
dependencies = {
|
||||
-- You can choose one of the following pickers
|
||||
"ibhagwan/fzf-lua",
|
||||
},
|
||||
cmd = "LivePreview",
|
||||
keys = { { "<leader>cp", "<cmd>LivePreview close<cr><cmd>LivePreview start<cr>", desc = "Live Preview" } },
|
||||
opts = true,
|
||||
enabled = true,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue