mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-02 02:49:26 +00:00
[neovim] Tidy up blink and avante confs
This commit is contained in:
@ -266,10 +266,6 @@ require("lazy").setup({
|
||||
event = "VeryLazy",
|
||||
lazy = false,
|
||||
version = false,
|
||||
opts = {
|
||||
provider = "copilot",
|
||||
auto_suggestions_provider = "claude",
|
||||
},
|
||||
build = "make",
|
||||
dependencies = {
|
||||
"stevearc/dressing.nvim",
|
||||
|
7
.config/nvim/lua/plugins/avante.lua
Normal file
7
.config/nvim/lua/plugins/avante.lua
Normal file
@ -0,0 +1,7 @@
|
||||
require("avante").setup({
|
||||
provider = "copilot",
|
||||
auto_suggestions_provider = "claude",
|
||||
web_search_engine = {
|
||||
provider = "tavily",
|
||||
},
|
||||
})
|
@ -1,4 +1,11 @@
|
||||
require("blink.cmp").setup({
|
||||
-- disable completion for certain filetypes
|
||||
enabled = function()
|
||||
return not vim.tbl_contains({ "sagarename" }, vim.bo.filetype)
|
||||
and vim.bo.buftype ~= "prompt"
|
||||
and vim.b.completion ~= false
|
||||
end,
|
||||
|
||||
appearance = {
|
||||
use_nvim_cmp_as_default = false,
|
||||
},
|
||||
@ -9,6 +16,11 @@ require("blink.cmp").setup({
|
||||
},
|
||||
},
|
||||
menu = {
|
||||
-- don't show completion menu automatically when searching
|
||||
auto_show = function(ctx)
|
||||
return ctx.mode ~= "cmdline" or not vim.tbl_contains({ "/", "?" }, vim.fn.getcmdtype())
|
||||
end,
|
||||
|
||||
border = "single",
|
||||
draw = {
|
||||
treesitter = { "lsp" },
|
||||
|
@ -1,5 +1,6 @@
|
||||
require("plugins.blink")
|
||||
require("plugins.copilot")
|
||||
require("plugins.avante")
|
||||
require("plugins.telescope")
|
||||
require("plugins.starter")
|
||||
require("plugins.treesitter")
|
||||
|
Reference in New Issue
Block a user