mirror of https://github.com/tiyn/dotfiles
parent
46c3f34aa5
commit
b48e634554
@ -1,16 +0,0 @@
|
||||
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
|
||||
}
|
||||
}
|
Loading…
Reference in new issue