1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-14 21:41:16 +02:00

nvim: split plugins into multiple files

This commit is contained in:
2023-09-28 06:18:15 +02:00
parent 1a80dedbb6
commit 0c9a6f387b
33 changed files with 723 additions and 665 deletions

View File

@@ -0,0 +1,16 @@
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
}
}