~kaction/config

ecd766b484b80292ab132ae24158cd2e718355b2 — Dmitry Bogatov 4 months ago db3cd83
vim: add "vim-bookmarks" plugin
2 files changed, 17 insertions(+), 1 deletions(-)

M universe/vim/default.nix
A universe/vim/src/vim-bookmarks.json
M universe/vim/default.nix => universe/vim/default.nix +10 -1
@@ 1,5 1,13 @@
{ buildEnv, makeWrapper, vidir, vim, vimPlugins, vimUtils, fetchFromGitHub }:
let
  plugin = path:
    let info = builtins.fromJSON (builtins.readFile path);
    in vimUtils.buildVimPluginFrom2Nix {
      pname = info.repo;
      version = info.rev;
      src = fetchFromGitHub info;
    };
  vim-bookmarks = plugin ./src/vim-bookmarks.json;
  vim-nginx = vimUtils.buildVimPluginFrom2Nix {
    pname = "vim-nginx";
    version = "2020.01.04";


@@ 52,10 60,11 @@ in buildEnv {
      purescript-vim
      vim-snipmate
      vim-snippets
      vim-addon-mw-utils  # hidden dependency of vim-snipmate
      vim-addon-mw-utils # hidden dependency of vim-snipmate
      tlib
      last256
      vim-syntax-vidir-ls
      vim-bookmarks
    ];
  in [ ./vim vim ] ++ plugins;
  meta = { priority = 3; };

A universe/vim/src/vim-bookmarks.json => universe/vim/src/vim-bookmarks.json +7 -0
@@ 0,0 1,7 @@
{
    "owner": "MattesGroeger",
    "repo": "vim-bookmarks",
    "rev": "3adeae10639edcba29ea80dafa1c58cf545cb80e",
    "sha256": "dRGSKZE1A9At9KEsQMMYMvRLwoPIKuxQhitpbFnRb8Y=",
    "fetchSubmodules": false
}
\ No newline at end of file