init
This commit is contained in:
23
nvim/lua/plugins/extras/editor/docs/peek.lua
Normal file
23
nvim/lua/plugins/extras/editor/docs/peek.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
return {
|
||||
{ "iamcco/markdown-preview.nvim", enabled = false },
|
||||
{
|
||||
"toppair/peek.nvim",
|
||||
build = "deno task --quiet build:fast",
|
||||
keys = {
|
||||
{
|
||||
"<leader>cp",
|
||||
ft = "markdown",
|
||||
function()
|
||||
local peek = require("peek")
|
||||
if peek.is_open() then
|
||||
peek.close()
|
||||
else
|
||||
peek.open()
|
||||
end
|
||||
end,
|
||||
desc = "Peek (Markdown Preview)",
|
||||
},
|
||||
},
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user