mirror of
https://github.com/cap153/nvim.git
synced 2026-05-02 03:25:46 +08:00
暂时先用blink.cmp v1
This commit is contained in:
parent
d9aa5500fd
commit
56d93db2a3
5 changed files with 27 additions and 22 deletions
|
|
@ -21,7 +21,9 @@ vim.api.nvim_create_user_command("PeekToggle", function()
|
|||
})
|
||||
end)
|
||||
peek.open()
|
||||
else
|
||||
peek.close()
|
||||
else -- 只有加载了插件的情况下执行关闭,这样可以跳过非markdown文件
|
||||
if PackUtils.plugin_loaded[P.name] then
|
||||
peek.close()
|
||||
end
|
||||
end
|
||||
end, { desc = "Lazy load and open Peek" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue