diff --git a/lua/Filetype/markdown.lua b/lua/Filetype/markdown.lua index 6ce616a..83108f2 100644 --- a/lua/Filetype/markdown.lua +++ b/lua/Filetype/markdown.lua @@ -4,7 +4,7 @@ G.cmd("au VimEnter * :MarkdownPreviewToggle") --set to 1, nvim will open the preview window after entering the markdown buffer --default: 0 -G.g.mkdp_auto_start = 0 +G.g.mkdp_auto_start = 1 --set to 1, the nvim will auto close current preview window when change --from markdown buffer to another buffer