diff --git a/lua/plugins.lua b/lua/plugins.lua index 5a5d265..23eaa99 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -23,14 +23,6 @@ return { vim.g.mkdp_highlight_css = os.getenv("XDG_CACHE_HOME") .. '/wal/colors.css' vim.g.mkdp_browser = 'rose' vim.g.mkdp_echo_preview_url = 1 - local markdown_preview_group = vim.api.nvim_create_augroup("MarkdownPreview", {}) - vim.api.nvim_create_autocmd("BufEnter", { - pattern = "*.md", - callback = function() - vim.cmd([[:MarkdownPreview]]) - end, - group = markdown_preview_group, - }) end, ft = { "markdown" } },