mirror of
https://github.com/cap153/nvim.git
synced 2026-05-11 17:35:59 +08:00
添加gemini插件
This commit is contained in:
parent
557287033b
commit
82aff96755
4 changed files with 17 additions and 11 deletions
|
|
@ -53,7 +53,7 @@ require("lazy").setup({
|
|||
require("lazy.plugins.outline"),
|
||||
-- treesitter语法高亮
|
||||
require("lazy.plugins.treesitter"),
|
||||
-- tabular,使用:Tab /=来格式化等号之类,特使符号要转义如:Tabularize /\/
|
||||
-- tabular,使用:Tab /=来格式化等号之类,特殊符号要转义如:Tabularize /\/
|
||||
require("lazy.plugins.tabular"),
|
||||
-- surround,各种对字符的包裹{} [] ''
|
||||
require("lazy.plugins.surround"),
|
||||
|
|
@ -93,10 +93,12 @@ require("lazy").setup({
|
|||
require("lazy.plugins.winbar"),
|
||||
-- 用Neovim打开kitty滚动缓冲
|
||||
require("lazy.plugins.kittyscroll"),
|
||||
-- 像cursor一样使用neovim
|
||||
require("lazy.plugins.avante"),
|
||||
-- 在浏览器中查看markdown preview
|
||||
require("lazy.plugins.markdownpreview"),
|
||||
-- 在neovim中使用gemini-cli
|
||||
require("lazy.plugins.gemini"),
|
||||
-- 像cursor一样使用neovim
|
||||
-- require("lazy.plugins.avante"),
|
||||
-- mcp server插件
|
||||
-- require("lazy.plugins.mcphub"),
|
||||
-- 用于改进在 Neovim 中查看 Markdown 文件的插件
|
||||
|
|
|
|||
7
lua/lazy/plugins/gemini.lua
Normal file
7
lua/lazy/plugins/gemini.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
"jonroosevelt/gemini-cli.nvim",
|
||||
dependencies = {},
|
||||
config = function()
|
||||
require("gemini").setup()
|
||||
end,
|
||||
}
|
||||
|
|
@ -9,13 +9,12 @@ return {
|
|||
ensure_installed = {
|
||||
"lua_ls",
|
||||
"rust_analyzer",
|
||||
"marksman",
|
||||
"pylsp",
|
||||
-- "gopls",
|
||||
},
|
||||
automatic_enable = {
|
||||
exclude = {
|
||||
"marksman",
|
||||
"pylsp",
|
||||
},
|
||||
exclude = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue