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 = {}
|
||||
for map, path in pairs(shortcuts) do
|
||||
maps[map] = function(state)
|
||||
fs.navigate(state, path, ".", function() end)
|
||||
fs.navigate(state, path)
|
||||
end
|
||||
end
|
||||
return maps
|
||||
|
|
|
@ -17,7 +17,7 @@ return {
|
|||
opts = {
|
||||
hints = { enabled = false },
|
||||
provider = "claude",
|
||||
auto_suggestions_provider = "claude",
|
||||
-- auto_suggestions_provider = "claude",
|
||||
claude = {
|
||||
endpoint = "https://api.anthropic.com",
|
||||
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",
|
||||
optional = true,
|
||||
|
@ -92,16 +102,6 @@ return {
|
|||
table.remove(opts.sections.lualine_x, 2)
|
||||
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",
|
||||
optional = true,
|
||||
|
|
Loading…
Add table
Reference in a new issue