vim/markdown-preview: lazy load on filetype detection
This commit is contained in:
parent
7d762a6105
commit
0554f4cb5e
1 changed files with 6 additions and 1 deletions
|
@ -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',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue