1
0
Fork 0

nvim: cleanup

This commit is contained in:
Luca Bilke 2025-04-09 17:14:03 +02:00
parent 5a04975766
commit 7a85c5886a
Signed by: luca
GPG key ID: F6E11C9BAA7C82F5
2 changed files with 12 additions and 12 deletions
common/.config/nvim/lua

View file

@ -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

View file

@ -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,