From 06a296a32b98286113d673716793fe86cceb65d6 Mon Sep 17 00:00:00 2001 From: Soliprem Date: Fri, 27 Sep 2024 09:55:03 +0200 Subject: [PATCH] update --- configuration.nix | 1 + modules/plugins/lsp/default.nix | 1 + modules/plugins/lsp/otter/otter.nix | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 08b0f9b..26fbd7e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -19,6 +19,7 @@ isMaximal: { lspsaga.enable = false; trouble.enable = true; lspSignature.enable = true; + otter.enable = isMaximal; lsplines.enable = isMaximal; nvim-docs-view.enable = isMaximal; }; diff --git a/modules/plugins/lsp/default.nix b/modules/plugins/lsp/default.nix index a5d5163..421f5fd 100644 --- a/modules/plugins/lsp/default.nix +++ b/modules/plugins/lsp/default.nix @@ -13,6 +13,7 @@ ./trouble ./lsp-signature ./lightbulb + ./otter ./lspkind ./lsplines ./nvim-docs-view diff --git a/modules/plugins/lsp/otter/otter.nix b/modules/plugins/lsp/otter/otter.nix index a352da7..e8222e6 100644 --- a/modules/plugins/lsp/otter/otter.nix +++ b/modules/plugins/lsp/otter/otter.nix @@ -3,7 +3,7 @@ inherit (lib.nvim.binds) mkMappingOption; in { options.vim.lsp = { - trouble = { + otter = { enable = mkEnableOption "Otter LSP Injector"; mappings = {