Describe the bug
With let g:mkdp_auto_start=1, running :MarkdownPreviewToggle opens a second tab instead of closing the first.
Note: this appears to be similar to #237
To Reproduce
Steps to reproduce the behavior:
Put let g:mkdp_auto_start=1 into ~/.config/nvim/init.vim. Save and quit.
Open a markdown file. A preview will open.
Run :MarkdownPreviewToggle. Another preview will open, despite one already existing.
Expected behavior
The toggle command should respect the auto-start variable, and not open a duplicate tab.
Screenshots
Desktop (please complete the following information):
Describe the bug With
let g:mkdp_auto_start=1
, running:MarkdownPreviewToggle
opens a second tab instead of closing the first. Note: this appears to be similar to #237To Reproduce Steps to reproduce the behavior:
let g:mkdp_auto_start=1
into~/.config/nvim/init.vim
. Save and quit.:MarkdownPreviewToggle
. Another preview will open, despite one already existing.Expected behavior The toggle command should respect the auto-start variable, and not open a duplicate tab.
Screenshots
Desktop (please complete the following information):