diff --git a/config/lsp.nix b/config/lsp.nix index 46d3612..cd07129 100644 --- a/config/lsp.nix +++ b/config/lsp.nix @@ -1,4 +1,4 @@ -{pkgs, ...}: { +_: { plugins = { lsp = { enable = true; @@ -44,15 +44,12 @@ }; crates-nvim.enable = true; + package-info = { + enable = true; + settings.hide_up_to_date = true; + }; }; - extraPlugins = with pkgs.vimPlugins; [ - { - plugin = package-info-nvim; - config = "lua require('package-info').setup({ hide_up_to_date = true })"; - } - ]; - keymaps = [ { key = "li";