updates
This commit is contained in:
parent
7bf59d38c5
commit
d964a2e4d1
@ -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" }
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user