otter: fixing fixing input

This commit is contained in:
Soliprem 2024-09-27 10:32:07 +02:00
parent 4f151d63be
commit 66c173748e
3 changed files with 15 additions and 11 deletions

View file

@ -1373,16 +1373,20 @@
"type": "github" "type": "github"
} }
}, },
"plugin-otter": { "plugin-otter-nvim": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-BvEhaaP13ZVfzdMcmEii8QbVBZnUMZNrBcyCF0vyiW4=", "lastModified": 1724585935,
"type": "file", "narHash": "sha256-euHwoK2WHLF/hrjLY2P4yGrIbYyBN38FL3q4CKNZmLY=",
"url": "https://github.com/jmbuhr/otter.nvim" "owner": "jmbuhr",
"repo": "otter.nvim",
"rev": "ca9ce67d0399380b659923381b58d174344c9ee7",
"type": "github"
}, },
"original": { "original": {
"type": "file", "owner": "jmbuhr",
"url": "https://github.com/jmbuhr/otter.nvim" "repo": "otter.nvim",
"type": "github"
} }
}, },
"plugin-oxocarbon": { "plugin-oxocarbon": {
@ -1873,7 +1877,7 @@
"plugin-obsidian-nvim": "plugin-obsidian-nvim", "plugin-obsidian-nvim": "plugin-obsidian-nvim",
"plugin-onedark": "plugin-onedark", "plugin-onedark": "plugin-onedark",
"plugin-orgmode-nvim": "plugin-orgmode-nvim", "plugin-orgmode-nvim": "plugin-orgmode-nvim",
"plugin-otter": "plugin-otter", "plugin-otter-nvim": "plugin-otter-nvim",
"plugin-oxocarbon": "plugin-oxocarbon", "plugin-oxocarbon": "plugin-oxocarbon",
"plugin-plenary-nvim": "plugin-plenary-nvim", "plugin-plenary-nvim": "plugin-plenary-nvim",
"plugin-project-nvim": "plugin-project-nvim", "plugin-project-nvim": "plugin-project-nvim",

View file

@ -156,8 +156,8 @@
flake = false; flake = false;
}; };
plugin-otter = { plugin-otter-nvim = {
url = "https://github.com/jmbuhr/otter.nvim"; url = "github:jmbuhr/otter.nvim";
flake = false; flake = false;
}; };

View file

@ -15,7 +15,7 @@
in { in {
config = mkIf (cfg.enable && cfg.otter.enable) { config = mkIf (cfg.enable && cfg.otter.enable) {
vim = { vim = {
startPlugins = ["otter"]; startPlugins = ["otter-nvim"];
maps.normal = mkMerge [ maps.normal = mkMerge [
(mkSetBinding mappings.toggle "<cmd>lua require'otter'.activate()<CR>") (mkSetBinding mappings.toggle "<cmd>lua require'otter'.activate()<CR>")
@ -23,7 +23,7 @@ in {
pluginRC.otter = entryAnywhere '' pluginRC.otter = entryAnywhere ''
-- Enable otter diagnostics viewer -- Enable otter diagnostics viewer
require("otter-nvim").setup() require("otter").setup()
''; '';
}; };
}; };