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,
|
||||
},
|
||||
}
|
||||
|
|
@ -17,6 +17,12 @@ return {
|
|||
explorer = {
|
||||
layout = { layout = { position = "right" } },
|
||||
},
|
||||
files = {
|
||||
ignored = true,
|
||||
},
|
||||
git_files = {
|
||||
untracked = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
notifier = { enabled = true },
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ in
|
|||
services.wallpaperEngine.enable = lib.mkForce false;
|
||||
|
||||
home-manager = {
|
||||
backupFileExtension = "hm-backup";
|
||||
backupFileExtension = "backup";
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = {
|
||||
inherit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue