From 4f151d63bee77ce07b5d522b0b4b961d119aafd8 Mon Sep 17 00:00:00 2001 From: Soliprem Date: Fri, 27 Sep 2024 10:09:43 +0200 Subject: [PATCH] update --- flake.lock | 13 +++++++++++++ flake.nix | 5 +++++ modules/plugins/lsp/otter/config.nix | 2 +- modules/plugins/lsp/otter/otter.nix | 1 - 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 9e11e8c..6042a26 100644 --- a/flake.lock +++ b/flake.lock @@ -1373,6 +1373,18 @@ "type": "github" } }, + "plugin-otter": { + "flake": false, + "locked": { + "narHash": "sha256-BvEhaaP13ZVfzdMcmEii8QbVBZnUMZNrBcyCF0vyiW4=", + "type": "file", + "url": "https://github.com/jmbuhr/otter.nvim" + }, + "original": { + "type": "file", + "url": "https://github.com/jmbuhr/otter.nvim" + } + }, "plugin-oxocarbon": { "flake": false, "locked": { @@ -1861,6 +1873,7 @@ "plugin-obsidian-nvim": "plugin-obsidian-nvim", "plugin-onedark": "plugin-onedark", "plugin-orgmode-nvim": "plugin-orgmode-nvim", + "plugin-otter": "plugin-otter", "plugin-oxocarbon": "plugin-oxocarbon", "plugin-plenary-nvim": "plugin-plenary-nvim", "plugin-project-nvim": "plugin-project-nvim", diff --git a/flake.nix b/flake.nix index c4996fc..c819a94 100644 --- a/flake.nix +++ b/flake.nix @@ -156,6 +156,11 @@ flake = false; }; + plugin-otter = { + url = "https://github.com/jmbuhr/otter.nvim"; + flake = false; + }; + # Language support plugin-sqls-nvim = { url = "github:nanotee/sqls.nvim"; diff --git a/modules/plugins/lsp/otter/config.nix b/modules/plugins/lsp/otter/config.nix index 3025d45..4c1a569 100644 --- a/modules/plugins/lsp/otter/config.nix +++ b/modules/plugins/lsp/otter/config.nix @@ -23,7 +23,7 @@ in { pluginRC.otter = entryAnywhere '' -- Enable otter diagnostics viewer - require("otter").setup {} + require("otter-nvim").setup() ''; }; }; diff --git a/modules/plugins/lsp/otter/otter.nix b/modules/plugins/lsp/otter/otter.nix index e8222e6..2fd6a0e 100644 --- a/modules/plugins/lsp/otter/otter.nix +++ b/modules/plugins/lsp/otter/otter.nix @@ -5,7 +5,6 @@ in { options.vim.lsp = { otter = { enable = mkEnableOption "Otter LSP Injector"; - mappings = { toggle = mkMappingOption "Activate LSP on Cursor Position [otter]" "oa"; };