From 84a58652eede934839ad548dc008a099c6fc022f Mon Sep 17 00:00:00 2001 From: Will Ruggiano Date: Thu, 7 Mar 2024 15:33:14 -0700 Subject: [PATCH] feat(plug): willothy/flatten.nvim --- nix/sources.json | 6 ++++++ plugins/spec.nix | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/nix/sources.json b/nix/sources.json index a1543c7..2dda803 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -113,6 +113,12 @@ "rev": "90c22e47be057562ee9566bad313ad42d622c1d3", "type": "git" }, + "flatten.nvim": { + "branch": "main", + "repo": "git@github.com:willothy/flatten.nvim", + "rev": "92c59ae6200e6b04aff167577ebb8a9035a6d2b3", + "type": "git" + }, "flit.nvim": { "branch": "main", "repo": "ssh://git@github.com/ggandor/flit.nvim", diff --git a/plugins/spec.nix b/plugins/spec.nix index 0da5535..e32d511 100644 --- a/plugins/spec.nix +++ b/plugins/spec.nix @@ -185,6 +185,17 @@ in rec { }; }; + flatten = { + src = sources."flatten.nvim"; + config = { + window = { + open = "alternate"; + }; + }; + lazy = false; + priority = 1001; + }; + fun = { package = let luafun = luajitPackages.callPackage ../pkgs/luafun.nix {}; @@ -405,7 +416,7 @@ in rec { src = sources.nvim-notify; config = ./notify.lua; lazy = false; - priority = 1000; + priority = 1001; }; nvim-surround = {