vim/markdown-preview: lazy load on filetype detection

This commit is contained in:
Fernando Schauenburg 2023-08-11 03:38:19 +02:00
parent 7d762a6105
commit 0554f4cb5e

View file

@ -1,5 +1,10 @@
return {
'iamcco/markdown-preview.nvim',
build = 'cd app && npm install',
init = function(_)
vim.g.mkdp_theme = 'dark'
end,
event = {
'FileType markdown',
},
}