From c4c1e57bac1e4229f9b5a0e46b9be2d0b8bfd4fa Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Tue, 16 Jul 2024 19:56:17 -0700 Subject: [PATCH] Added session helper (vim-obsession) --- config/default.nix | 1 + config/plugins/vim-obsession.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 config/plugins/vim-obsession.nix diff --git a/config/default.nix b/config/default.nix index 724679f..23cb502 100644 --- a/config/default.nix +++ b/config/default.nix @@ -7,6 +7,7 @@ ./plugins/lsp.nix ./plugins/lualine.nix ./plugins/rhubarb.nix + ./plugins/vim-obsession.nix ]; colorschemes.base16 = { diff --git a/config/plugins/vim-obsession.nix b/config/plugins/vim-obsession.nix new file mode 100644 index 0000000..115d5aa --- /dev/null +++ b/config/plugins/vim-obsession.nix @@ -0,0 +1,13 @@ +{pkgs, ...}: { + extraPlugins = [ + (pkgs.vimUtils.buildVimPlugin { + name = "vim-obsession"; + src = pkgs.fetchFromGitHub { + owner = "tpope"; + repo = "vim-obsession"; + rev = "fe9d3e1a9a50171e7d316a52e1e56d868e4c1fe5"; + hash = "sha256-uf4BWCmKU22s5p+pKIM9DIzEFnqMgIOxSxSrhJeRwHQ="; + }; + }) + ]; +}