mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-01 23:19:25 +00:00
[neovim] Update plugins
This commit is contained in:
@ -5,9 +5,9 @@ require("avante").setup({
|
||||
-- claude = {
|
||||
-- api_key_name = "cmd:secret-tool lookup description ANTHROPIC_API_KEY",
|
||||
-- },
|
||||
web_search_engine = {
|
||||
provider = "tavily",
|
||||
},
|
||||
-- web_search_engine = {
|
||||
-- provider = "tavily",
|
||||
-- },
|
||||
hints = { enabled = false },
|
||||
behaviour = {
|
||||
enable_claude_text_editor_tool_mode = true,
|
||||
|
@ -1,10 +1,13 @@
|
||||
local projects = function()
|
||||
local data = require("util.files").read(os.getenv("HOME") .. "/.config/nvim/neovim-projects.json")
|
||||
local projects_path = vim.fn.expand("~/.config/nvim/neovim-projects.json")
|
||||
local data = require("util.files").read(projects_path)
|
||||
|
||||
if data then
|
||||
return vim.json.decode(data)
|
||||
else
|
||||
return {}
|
||||
local ok, decoded = pcall(vim.json.decode, data)
|
||||
return ok and decoded or {}
|
||||
end
|
||||
|
||||
return {}
|
||||
end
|
||||
|
||||
require("neovim-project").setup({
|
||||
|
Reference in New Issue
Block a user