chore: remove avante, update flake inputs, and resolve deprecated settings

This commit is contained in:
kenji
2026-07-13 13:20:43 -05:00
parent 5eb59f5194
commit 4fa56f5c8a
5 changed files with 51 additions and 42 deletions
+1 -5
View File
@@ -60,11 +60,7 @@
group = "Database";
icon = "";
}
{
__unkeyed-1 = "<leader>a";
group = "Avante";
icon = "󰬈";
}
{
__unkeyed-1 = "<leader>A";
group = "AugmentCode";
+11 -9
View File
@@ -7,7 +7,7 @@ let
in
{pkgs, ...}: {
plugins = {
avante.enable = true;
cmp = {
enable = true;
settings = {
@@ -212,15 +212,17 @@ in
},
})
vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(
vim.lsp.handlers.hover,
{border = 'rounded'}
)
vim.lsp.handlers['textDocument/hover'] = function(err, result, ctx, config)
local conf = config or {}
conf.border = 'rounded'
return vim.lsp.handlers.hover(err, result, ctx, conf)
end
vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(
vim.lsp.handlers.signature_help,
{border = 'rounded'}
)
vim.lsp.handlers['textDocument/signatureHelp'] = function(err, result, ctx, config)
local conf = config or {}
conf.border = 'rounded'
return vim.lsp.handlers.signature_help(err, result, ctx, conf)
end
'';
postConfig = ''
local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " }
+10
View File
@@ -2,6 +2,16 @@
config = {
enableMan = false;
version.enableNixpkgsReleaseCheck = false;
extraConfigLuaPre = ''
-- Mock image.nvim in headless/test environments to avoid stdin/stdout errors
if #vim.api.nvim_list_uis() == 0 or vim.o.headless then
package.preload["image"] = function()
return {
setup = function() end,
}
end
end
'';
opts = {
updatetime = 100; # faster completion
number = true;
+1 -4
View File
@@ -66,10 +66,7 @@
obsidian.enable = false;
obsidian.settings = {
attachments.img_folder = "Attachments";
completion = {
min_chars = 2;
nvim_cmp = true;
};
daily_notes = {
folder = "notes/dailies";
date_format = "%Y-%m-%d";
Generated
+28 -24
View File
@@ -5,11 +5,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1738453229,
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
"lastModified": 1782949081,
"narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
"rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e",
"type": "github"
},
"original": {
@@ -26,11 +26,11 @@
]
},
"locked": {
"lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"lastModified": 1782949081,
"narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e",
"type": "github"
},
"original": {
@@ -41,11 +41,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1778869304,
"narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
"lastModified": 1783776592,
"narHash": "sha256-UgCQzxeWI75XM8G+hPrPh+MKzEPjG3SpAj7dtqSbksA=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
"rev": "e7a3ca8092b61ff85b6a45bf863ea2b2d6a661b3",
"type": "github"
},
"original": {
@@ -57,14 +57,17 @@
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1738452942,
"narHash": "sha256-vJzFZGaCpnmo7I6i416HaBLpC+hvcURh/BQwROcGIp8=",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
"lastModified": 1782614948,
"narHash": "sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC+eBu2zKlp8=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "db3f255737b94216eb71cce308e2912cf6bc2d7c",
"type": "github"
},
"original": {
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs_2": {
@@ -92,11 +95,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1779023681,
"narHash": "sha256-K7RLGyiK3J6wHr/JDxXdlGF0+0DEsdBf1w9mXjSyL8I=",
"lastModified": 1783941741,
"narHash": "sha256-F+3M1IZrJa920cx2/k2AMKqedEodxLF7COJVkLJwUBo=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "0d05726bfb060f6559f6d64c1d427f3663dba178",
"rev": "e6715f01d9f56f07a27a01386b85ae22b06f0705",
"type": "github"
},
"original": {
@@ -118,11 +121,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1766544144,
"narHash": "sha256-5ppfEyZqX6FMluZHty7Dvw4xN10vLq1yQosp7dGG/28=",
"lastModified": 1783921439,
"narHash": "sha256-DsSIQSRMrLOz40LrGZ03sp2RlJ9sz3wKpd8XPTOzXnw=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "5359a4fdc3fa9baa2edcf49758d404dfeeca7743",
"rev": "e013376c32a8fcf07ddb6ec71739552bc118b7bd",
"type": "github"
},
"original": {
@@ -133,15 +136,16 @@
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"lastModified": 1774449309,
"narHash": "sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"rev": "c29398b59d2048c4ab79345812849c9bd15e9150",
"type": "github"
},
"original": {
"owner": "nix-systems",
"ref": "future-26.11",
"repo": "default",
"type": "github"
}