From 66c173748e14b1a9599a4296dd71e18812ac6638 Mon Sep 17 00:00:00 2001 From: Soliprem Date: Fri, 27 Sep 2024 10:32:07 +0200 Subject: [PATCH] otter: fixing fixing input --- flake.lock | 18 +++++++++++------- flake.nix | 4 ++-- modules/plugins/lsp/otter/config.nix | 4 ++-- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 6042a26..310562a 100644 --- a/flake.lock +++ b/flake.lock @@ -1373,16 +1373,20 @@ "type": "github" } }, - "plugin-otter": { + "plugin-otter-nvim": { "flake": false, "locked": { - "narHash": "sha256-BvEhaaP13ZVfzdMcmEii8QbVBZnUMZNrBcyCF0vyiW4=", - "type": "file", - "url": "https://github.com/jmbuhr/otter.nvim" + "lastModified": 1724585935, + "narHash": "sha256-euHwoK2WHLF/hrjLY2P4yGrIbYyBN38FL3q4CKNZmLY=", + "owner": "jmbuhr", + "repo": "otter.nvim", + "rev": "ca9ce67d0399380b659923381b58d174344c9ee7", + "type": "github" }, "original": { - "type": "file", - "url": "https://github.com/jmbuhr/otter.nvim" + "owner": "jmbuhr", + "repo": "otter.nvim", + "type": "github" } }, "plugin-oxocarbon": { @@ -1873,7 +1877,7 @@ "plugin-obsidian-nvim": "plugin-obsidian-nvim", "plugin-onedark": "plugin-onedark", "plugin-orgmode-nvim": "plugin-orgmode-nvim", - "plugin-otter": "plugin-otter", + "plugin-otter-nvim": "plugin-otter-nvim", "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 c819a94..4813481 100644 --- a/flake.nix +++ b/flake.nix @@ -156,8 +156,8 @@ flake = false; }; - plugin-otter = { - url = "https://github.com/jmbuhr/otter.nvim"; + plugin-otter-nvim = { + url = "github:jmbuhr/otter.nvim"; flake = false; }; diff --git a/modules/plugins/lsp/otter/config.nix b/modules/plugins/lsp/otter/config.nix index 4c1a569..fa1f740 100644 --- a/modules/plugins/lsp/otter/config.nix +++ b/modules/plugins/lsp/otter/config.nix @@ -15,7 +15,7 @@ in { config = mkIf (cfg.enable && cfg.otter.enable) { vim = { - startPlugins = ["otter"]; + startPlugins = ["otter-nvim"]; maps.normal = mkMerge [ (mkSetBinding mappings.toggle "lua require'otter'.activate()") @@ -23,7 +23,7 @@ in { pluginRC.otter = entryAnywhere '' -- Enable otter diagnostics viewer - require("otter-nvim").setup() + require("otter").setup() ''; }; };