ref(nvim): plugin
This commit is contained in:
parent
b2bf59ed50
commit
435680e6ed
@ -2,6 +2,9 @@ return {
|
|||||||
'toppair/peek.nvim',
|
'toppair/peek.nvim',
|
||||||
enabled = vim.fn.executable "deno" == 1,
|
enabled = vim.fn.executable "deno" == 1,
|
||||||
ft = {'markdown'},
|
ft = {'markdown'},
|
||||||
|
keys = {
|
||||||
|
{ '<Leader>rr', "<cmd>lua require('peek').open()<CR>" }
|
||||||
|
},
|
||||||
build = 'deno task --quiet build:fast',
|
build = 'deno task --quiet build:fast',
|
||||||
config = function()
|
config = function()
|
||||||
require('peek').setup({
|
require('peek').setup({
|
||||||
@ -14,7 +17,6 @@ return {
|
|||||||
filetype = {'markdown'},
|
filetype = {'markdown'},
|
||||||
throttle_at = 200000,
|
throttle_at = 200000,
|
||||||
throttle_time = 'auto',
|
throttle_time = 'auto',
|
||||||
vim.keymap.set('n', '<Leader>rr', "<cmd>lua require('peek').open()<CR>", {noremap=true, silent=true})
|
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user