mirror of
https://github.com/cap153/nvim.git
synced 2026-04-24 06:32:26 +08:00
添加git signs插件
This commit is contained in:
parent
81b9d5964e
commit
c3a1663bdb
5 changed files with 60 additions and 17 deletions
|
|
@ -23,7 +23,7 @@ end, { desc = "Lazy load and open Peek" })
|
|||
|
||||
vim.api.nvim_create_user_command("PeekClose", function()
|
||||
-- 如果插件没加载,Close 命令通常不需要做任何事,或者也触发加载
|
||||
if PackUtils.is_initialized[P.name] then
|
||||
if PackUtils.plugin_loaded[P.name] then
|
||||
require("peek").close()
|
||||
end
|
||||
end, { desc = "Close Peek" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue