-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't workinghas-workaroundhelp wantedExtra attention is neededExtra attention is needed
Description
Did you read the documentation and check existing issues?
- I have read all the documentations (README,
:h livepreview, Wiki) - I have updated the plugin to the latest version before submitting this issue
- I have searched the existing issues and closed issues issues
Neovim version (nvim -v)
v0.11.2
Operating system/version
macOS 15.5
Browser/version
Chrome Version 138.0.7204.93 (Official Build) (arm64)
Describe the bug
Mermaid diagrams aren't rendered and instead I get an error message:
Steps To Reproduce
- Clone the plugin
git clone https://github.com/brianhuster/live-preview.nvim - Open Nvim with minimal repro file
nvim -u minimal_init.lua - create a md file with the following contents
Loading
graph TD; A-->B; A-->C; B-->D; C-->D; - Start the livepreview
:LivePreview start
Expected Behavior
I'd expect the diagram to be rendered instead of an error being displayed in it's place.
Health
==============================================================================
livepreview: 2 ⚠️
Check dependencies ~
- ✅ OK Nvim 0.11.2 is compatible with Live Preview
- ✅ OK `sh` is available
- ✅ OK `mini.pick` is installed
- ⚠️ WARNING `fzf-lua` (optional) is not installed
- ⚠️ WARNING `telescope` (optional) is not installed
Checkhealth server and process ~
- ✅ OK This Nvim process's PID is 40572
- ✅ OK Server is healthy on port 5500
- ✅ OK Server root: /Users/luisdavim/scrapyard/nebius
Check your live-preview.nvim config ~
- Your configuration table
- {
browser = "default",
dynamic_root = false,
picker = "",
port = 5500,
sync_scroll = true
}Minimal config to reproduce
vim.cmd.set "rtp+=~/.local/share/nvim/site/pack/deps/opt/live-preview.nvim"
require("livepreview.config").set {
--- Configuration here
}Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghas-workaroundhelp wantedExtra attention is neededExtra attention is needed