diff --git a/flake.lock b/flake.lock index f0771ad..4904b96 100644 --- a/flake.lock +++ b/flake.lock @@ -849,26 +849,6 @@ "type": "github" } }, - "nirinit": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1759527445, - "narHash": "sha256-eBFGtv6uuHJpGBa3WB3UAij967PgP7AT5qiwkpvb6Rc=", - "owner": "amaanq", - "repo": "nirinit", - "rev": "32193bbc08a2c92165c695f1af8c467fcdc80f7e", - "type": "github" - }, - "original": { - "owner": "amaanq", - "repo": "nirinit", - "type": "github" - } - }, "nix-matlab": { "inputs": { "flake-compat": "flake-compat_2", @@ -1472,7 +1452,6 @@ "nh": "nh", "nil": "nil", "niri": "niri", - "nirinit": "nirinit", "nix-matlab": "nix-matlab", "nixGL": "nixGL", "nixd": "nixd", diff --git a/home/programs/coding/nixvim/ai.nix b/home/programs/coding/nixvim/ai.nix index f98ed5c..359788f 100644 --- a/home/programs/coding/nixvim/ai.nix +++ b/home/programs/coding/nixvim/ai.nix @@ -25,21 +25,48 @@ in # cmp.setup({ # sources = current_sources, # }) + # local has_words_before = function() + # if vim.api.nvim_buf_get_option(0, "buftype") == "prompt" then + # return false + # end + # local line, col = unpack(vim.api.nvim_win_get_cursor(0)) + # return col ~= 0 and vim.api.nvim_buf_get_text(0, line - 1, 0, line - 1, col, {})[1]:match("^%s*$") == nil + # end + # cmp.setup({ + # mapping = { + # [""] = vim.schedule_wrap(function(fallback) + # if cmp.visible() and has_words_before() then + # cmp.select_next_item({ behavior = cmp.SelectBehavior.Select }) + # else + # fallback() + # end + # end), + # }, + # }) # ''; plugins = { copilot-lua = { - enable = false; + enable = true; settings = { panel.enabled = false; - suggestion.enabled = false; + suggestion.enabled = true; + suggestion.keymap = { + hide_during_completion = false; + accept = ""; + accept_word = false; + accept_line = false; + next = ""; + prev = ""; + dismiss = ""; + }; filetypes.markdown = true; }; }; - copilot-cmp.enable = false; + # copilot-cmp.enable = true; windsurf-nvim = { - enable = true; + enable = false; }; - cmp.settings.sources = [ { name = "codeium"; } ]; + # cmp.settings.sources = [ { name = "codeium"; } ]; codecompanion = { enable = true; settings = { diff --git a/home/tweaks/wallpaper.nix b/home/tweaks/wallpaper.nix index 2913671..2d38575 100644 --- a/home/tweaks/wallpaper.nix +++ b/home/tweaks/wallpaper.nix @@ -85,5 +85,9 @@ name = "jw-follow-the-wind.jpeg"; convertMethod = "gonord"; } + { + name = "kyora-autumn.png"; + convertMethod = "gonord"; + } ]; } diff --git a/pkgs/wallpapers.nix b/pkgs/wallpapers.nix index a2a3501..d25b8bd 100644 --- a/pkgs/wallpapers.nix +++ b/pkgs/wallpapers.nix @@ -81,6 +81,11 @@ let url = "https://i.imgur.com/eCilr4R.jpeg"; sha256 = "1vnnmlxa6bx1yi9b3hh7v5wggwab3k5nx7hxpnc56ld4p1wm3g4l"; } + { + name = "kyora-autumn.png"; + url = "https://i.imgur.com/rx7hwo4.png"; + sha256 = "00mb4hlhw58iysf5n8krhm2z98m2c6xj89fx7js6vp9ffzds53bc"; + } ]; wallpaperSrcs = map fetchurl wallpapers;