nvim: cleanup
This commit is contained in:
parent
5a04975766
commit
7a85c5886a
2 changed files with 12 additions and 12 deletions
|
@ -6,7 +6,7 @@ function M.generate_shortcut_maps()
|
||||||
local maps = {}
|
local maps = {}
|
||||||
for map, path in pairs(shortcuts) do
|
for map, path in pairs(shortcuts) do
|
||||||
maps[map] = function(state)
|
maps[map] = function(state)
|
||||||
fs.navigate(state, path, ".", function() end)
|
fs.navigate(state, path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return maps
|
return maps
|
||||||
|
|
|
@ -17,7 +17,7 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
hints = { enabled = false },
|
hints = { enabled = false },
|
||||||
provider = "claude",
|
provider = "claude",
|
||||||
auto_suggestions_provider = "claude",
|
-- auto_suggestions_provider = "claude",
|
||||||
claude = {
|
claude = {
|
||||||
endpoint = "https://api.anthropic.com",
|
endpoint = "https://api.anthropic.com",
|
||||||
model = "claude-3-7-sonnet-latest",
|
model = "claude-3-7-sonnet-latest",
|
||||||
|
@ -68,6 +68,16 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
|
optional = true,
|
||||||
|
ft = function(_, ft)
|
||||||
|
vim.list_extend(ft, { "Avante" })
|
||||||
|
end,
|
||||||
|
opts = function(_, opts)
|
||||||
|
opts.file_types = vim.list_extend(opts.file_types or {}, { "Avante" })
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"zbirenbaum/copilot.lua",
|
"zbirenbaum/copilot.lua",
|
||||||
optional = true,
|
optional = true,
|
||||||
|
@ -92,16 +102,6 @@ return {
|
||||||
table.remove(opts.sections.lualine_x, 2)
|
table.remove(opts.sections.lualine_x, 2)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"MeanderingProgrammer/render-markdown.nvim",
|
|
||||||
optional = true,
|
|
||||||
ft = function(_, ft)
|
|
||||||
vim.list_extend(ft, { "Avante" })
|
|
||||||
end,
|
|
||||||
opts = function(_, opts)
|
|
||||||
opts.file_types = vim.list_extend(opts.file_types or {}, { "Avante" })
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
optional = true,
|
optional = true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue