iamcco / iamcco/markdown-preview.nvim

Connection is closed with preview when I switch the buffer.

Open
#588 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

I am using `LunarVim`, `bufferline` and `nvimtree`.

When I switch the buffer on `bufferline` or open new buffer on `nvimtree`, the connection between the preview web page and the buffer is closed. Even the markdown buffer is still opened.

I have tried `vim.g.mkdp_auto_close = 0`, it indeed did not close the web page but the connection is still closed. I meant by the connection, no iteraction after it is `closed` whatsoever, so I have to open new preview.

Was this on intention? Or if it is not, can I make it to not close the connection? It seems there is no config for that.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.