Update vim config

This commit is contained in:
EEva 2021-12-09 22:24:27 +02:00
parent c25151945b
commit ea43b7f34c

View file

@ -12,16 +12,6 @@ with pkgs;
let
plugins = let inherit (vimUtils) buildVimPluginFrom2Nix; in {
"vim-hcl" = buildVimPluginFrom2Nix { # created by nix#NixDerivation
pname = "vim-hcl";
version = "git";
src = fetchgit {
url = "git://github.com/jvirtanen/vim-hcl";
rev = "c64a006facad8c3cc0f16ba324e63524932a96e7";
sha256 = "0547xgbk725rnib8ka775a8r57dlywkyw1kjwma78n93h64dwnlr";
};
dependencies = [];
};
"systemd-syntax" = buildVimPluginFrom2Nix { # created by nix#NixDerivation
pname = "systemd-syntax";
version = "git";
@ -42,17 +32,6 @@ let
};
dependencies = [];
};
"vim-gnupg" = buildVimPluginFrom2Nix { # created by nix#NixDerivation
pname = "vim-gnupg";
version = "git";
src = fetchFromGitHub {
owner = "jamessan";
repo = "vim-gnupg";
rev = "f663d0e857bd88cb39c16ca45c37a27488648562";
sha256 = "0y0g3br54sj0h8s6ashny2km2260qw8psqxq00jn0l2chjwsi0d9";
};
dependencies = [];
};
vim-timedot = buildVimPluginFrom2Nix {
pname = "vim-timedot";
version = "git";
@ -69,8 +48,8 @@ let
src = fetchFromGitHub {
owner = "lzap";
repo = "vim-selinux";
rev = "735743a3539431c33824cb432b92267a0fc82251";
sha256 = "16pk2zscyiayfccn760p2zki4cjfhp26bikisgswjg900zwr5yns";
rev = "ac5362b9b3ad32215136bda0b7d12bdfe02f3d2f";
sha256 = "kOKOpxLSMCEQ1mmoJrL72/1fAH9xPV21rReAXrr5f5g=";
};
};
vim-lilypond = buildVimPluginFrom2Nix { # created by nix#NixDerivation
@ -89,6 +68,16 @@ let
sha256 = "08k1jh9n0kz9xwmy0ig03w9lx0r2m2rhmfwb0idy81madllcidjc";
};
};
vim-lsp-mats = buildVimPluginFrom2Nix {
pname = "vim-lsp";
version = "git";
src = fetchFromGitHub {
owner = "masser";
repo = "vim-lsp";
rev = "1e71d5b923ec2574f9b07fbebaf6af90491db31c";
sha256 = "1ZlXZo430WzagZ58PT34y/qnx9Qwf/qZJlY1m8ml56Q=";
};
};
}; in vim_configurable.customize {
name = "vim";
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; with plugins; {
@ -112,7 +101,7 @@ let
vim-hcl
vim-ledger
vim-lilypond
vim-lsp
vim-lsp-mats
vim-nix
vim-orgmode
vim-repeat