From 551cb5b08d2d3ea7864130f7403f67195182f2f1 Mon Sep 17 00:00:00 2001 From: Aditya Date: Wed, 6 Mar 2024 19:58:59 +0530 Subject: [PATCH] ultimate-autopair --- config/default.nix | 1 + config/utils/ultimate-autopair.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 config/utils/ultimate-autopair.nix diff --git a/config/default.nix b/config/default.nix index 25fe266..27c7215 100644 --- a/config/default.nix +++ b/config/default.nix @@ -72,5 +72,6 @@ ./utils/tmux-navigator.nix ./utils/todo-comments.nix ./utils/toggleterm.nix + ./utils/ultimate-autopair.nix ]; } diff --git a/config/utils/ultimate-autopair.nix b/config/utils/ultimate-autopair.nix new file mode 100644 index 0000000..6c4a189 --- /dev/null +++ b/config/utils/ultimate-autopair.nix @@ -0,0 +1,18 @@ +{pkgs, ...}: { + extraPlugins = with pkgs.vimUtils; [ + (buildVimPlugin { + pname = "ultimate-autopair.nvim"; + version = "2024-02-05"; + src = pkgs.fetchFromGitHub { + owner = "altermo"; + repo = "ultimate-autopair.nvim"; + rev = "25c13e0ce167db0255456cac10158b27d2be30c0"; + sha256 = "0bsxfj6g8fii9nn92vl15hdhafx3fikgiz4srr7y10pxz01c5s4c"; + }; + }) + ]; + extraConfigLua = '' + require('ultimate-autopair').setup() + ''; +} +