mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
404 B
17 lines
404 B
return {
|
|
-- preview for markdown filetypes
|
|
{
|
|
"iamcco/markdown-preview.nvim",
|
|
ft = { 'markdown' },
|
|
build = "cd app && yarn install",
|
|
config = function()
|
|
vim.cmd([[
|
|
function OpenMarkdownPreview (url)
|
|
execute "silent ! firefox --kiosk --new-window " . a:url
|
|
endfunction
|
|
]])
|
|
vim.g.mkdp_browserfunc = "OpenMarkdownPreview"
|
|
end
|
|
}
|
|
}
|