Skip to content

Commit

Permalink
refactor(lsp): use nixvim package-info plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyxels committed Nov 12, 2024
1 parent b4aeddd commit 1236475
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions config/lsp.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{pkgs, ...}: {
_: {
plugins = {
lsp = {
enable = true;
Expand Down Expand Up @@ -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 = "<Leader>li";
Expand Down

0 comments on commit 1236475

Please sign in to comment.