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 = {