Replies: 7 comments
-
I don't know what you mean be "Installed via Powershell". If you mean to manually clone the repo to Also at least put some effort when writing the issue, please. |
Beta Was this translation helpful? Give feedback.
-
I used the command:
like mentioned, but can't get it work. |
Beta Was this translation helpful? Give feedback.
-
Oh, actually the command is |
Beta Was this translation helpful? Give feedback.
-
Same result. I installed lazy-vim now. But in which folder/file I have to put this?
Please, be more clear in your explanation. |
Beta Was this translation helpful? Give feedback.
-
Probably in function |
Beta Was this translation helpful? Give feedback.
-
My config is working, with lazy.nvim return {
"Ren-B-7/live-preview.nvim",
lazy = true,
enabled = true,
ft = { "markdown" },
config = function()
require("livepreview.config").set({
port = 42069,
browser = "flatpak run org.chromium.Chromium",
dynamic_root = false,
sync_scroll = true,
picker = "",
})
end,
cmd = { "LivePreview" }, -- lazy-load only when needed
keys = {
{ "<leader>ls", "<cmd>LivePreview start<cr>", desc = "Open current file in your browser" },
{ "<leader>lc", "<cmd>LivePreview close<cr>", desc = "Close the live preview server" },
{ "<leader>lp", "<cmd>LivePreview pick<cr>", desc = "Close the live preview server" },
},
} If you try and copy, just edit the browser and github link options |
Beta Was this translation helpful? Give feedback.
-
you can add it as a seperate lua file where the other config files lay, in which you would use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Windows 10 + nvim:
Installed via powershell (no plugin manager)
new to nvim.
What to do?
Beta Was this translation helpful? Give feedback.
All reactions