添加vscode neovim相关配置

This commit is contained in:
a770 2025-05-31 11:38:43 +08:00
parent 59f0ba6a45
commit d1f5f0a2c8
12 changed files with 217 additions and 57 deletions

View file

@ -0,0 +1,14 @@
return {
"cap153/peek.nvim",
event = { "VeryLazy" },
build = "deno task --quiet build:fast",
config = function()
require("peek").setup({
port = 9000,
-- app = { "firefox-esr", "-private-window" },
app = { "google-chrome-stable", "--app=http://localhost:9000/?theme=dark", "--incognito" },
})
vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
end,
}