Add markdown plugins

This commit is contained in:
David Bell 2023-04-04 19:08:21 +01:00
parent 4bd4388220
commit fa8b268568
No known key found for this signature in database
GPG Key ID: EB8E7B08C6DE0FD7
2 changed files with 10 additions and 3 deletions

View File

@ -0,0 +1,7 @@
return {
"iamcco/markdown-preview.nvim",
ft = "markdown",
build = function()
vim.fn["mkdp#util#install"]()
end,
}

View File

@ -4,12 +4,12 @@ return {
build = "deno task --quiet build:fast", build = "deno task --quiet build:fast",
init = function() init = function()
require("peek").setup({ require("peek").setup({
auto_load = false, auto_load = true,
close_on_bdelete = true, close_on_bdelete = true,
syntax = false, syntax = false,
theme = "dark", theme = "light",
update_on_change = true, update_on_change = true,
app = {'google-stable-chrome', '--new-window'}, app = 'webview',
filetype = {"markdown"}, filetype = {"markdown"},
throttle_at = 200000, throttle_at = 200000,
throttle_time = "auto", throttle_time = "auto",