nvim: don't close Markdown preview when leaving the buffer
This commit is contained in:
parent
55fe46e113
commit
735d6ffaef
1 changed files with 6 additions and 0 deletions
|
@ -15,5 +15,11 @@ return {
|
||||||
|
|
||||||
init = function()
|
init = function()
|
||||||
vim.g.mkdp_theme = "dark"
|
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,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue