diff --git a/config/modules/nixvim/default.nix b/config/modules/nixvim/default.nix index ac2786c..4b2981b 100644 --- a/config/modules/nixvim/default.nix +++ b/config/modules/nixvim/default.nix @@ -114,7 +114,6 @@ default_settings = { rust-analyzer = { cargo.targetDir = true; - files.watcher = "server"; diagnostics.refresh_update = true; }; }; @@ -145,10 +144,6 @@ settings = { nixd = { nixpkgs.expr = "import (builtins.getFlake \"${toString /home/doloro/dotfiles}\").inputs.nixpkgs { }"; - options = { - nixos.expr = "(builtins.getFlake \"${toString /home/doloro/dotfiles}\").nixosConfigurations.desktop.options"; - home_manager.expr = "(builtins.getFlake \"${toString /home/doloro/dotfiles}\").homeConfigurations.doloro-desktop.options"; - }; }; }; }; @@ -165,17 +160,6 @@ svelte.enable = true; }; }; - lsp-format = { - enable = true; - # lspServersToEnable = [ "qmlls" ]; - }; - notify = { - enable = true; - settings = { - background_color = "#00000000"; - }; - }; - mini-cursorword.enable = true; # mini-statusline.enable = true; lualine = { enable = true; @@ -207,11 +191,6 @@ }; }; web-devicons.enable = true; - vim-dadbod-completion.enable = true; - telescope = { - enable = true; - extensions.file-browser.enable = true; - }; lazygit.enable = true; mini-indentscope = { enable = true; @@ -301,14 +280,6 @@ tiny-inline-diagnostic.enable = true; # tiny-code-action.enable = true; # persisted.enable = true; - auto-session = { - enable = false; - settings = { - enabled = true; - auto_save = true; - auto_restore = true; - }; - }; wakatime.enable = true; treesitter = { enable = true; @@ -371,14 +342,7 @@ ''; keymaps = [ { - action = "Telescope persisted"; - key = "fs"; - options = { - silent = true; - }; - } - { - action = "Telescope find_files"; + action = "lua require('snacks.picker').files()"; key = "ff"; options = { silent = true; @@ -399,14 +363,14 @@ }; } { - action = "Telescope buffers"; + action = "lua require('snacks.picker').buffers()"; key = "fb"; options = { silent = true; }; } { - action = "Telescope live_grep"; + action = "lua require('snacks.picker').grep()"; key = "fg"; options = { silent = true; @@ -465,7 +429,7 @@ }; } { - action = "Telescope lsp_references"; + action = "lua require('snacks.picker').lsp_references()"; key = "gr"; options = { silent = true;