kickstart.nvim/lua/custom/plugins/peek.lua

21 lines
428 B
Lua
Raw Normal View History

2023-04-04 18:44:31 +01:00
return {
"toppair/peek.nvim",
ft = "markdown",
build = "deno task --quiet build:fast",
init = function()
require("peek").setup({
2023-04-04 19:08:21 +01:00
auto_load = true,
2023-04-04 18:44:31 +01:00
close_on_bdelete = true,
syntax = false,
2023-04-04 19:08:21 +01:00
theme = "light",
2023-04-04 18:44:31 +01:00
update_on_change = true,
2023-04-04 19:08:21 +01:00
app = 'webview',
2023-04-04 18:44:31 +01:00
filetype = {"markdown"},
throttle_at = 200000,
throttle_time = "auto",
})
require("peek_settings.commands")
end,
}