nvim: don't close Markdown preview when leaving the buffer

This commit is contained in:
Fernando Schauenburg 2024-07-12 16:39:53 +02:00
parent 55fe46e113
commit 735d6ffaef

View file

@ -15,5 +15,11 @@ return {
init = function()
vim.g.mkdp_theme = "dark"
-- Don't close the preview when switching to another buffer.
vim.g.mkdp_auto_close = 0
-- Show preview page URL in command line when opening preview page.
vim.g.mkdp_echo_preview_url = 1
end,
}