136 lines
4.4 KiB
Nix
136 lines
4.4 KiB
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [ ./common.nix ];
|
||
|
programs.neovim = {
|
||
|
plugins = with pkgs.vimPlugins;
|
||
|
# find sha256 with:
|
||
|
# nix-prefetch-url --unpack https://github.com/${owner}/${repo}/archive/${rev}.tar.gz
|
||
|
let
|
||
|
nerdfont-vim = pkgs.vimUtils.buildVimPlugin {
|
||
|
pname = "nerdfont-vim";
|
||
|
version = "git";
|
||
|
src = pkgs.fetchFromGitHub {
|
||
|
owner = "lambdalisue";
|
||
|
repo = "nerdfont.vim";
|
||
|
rev = "5f484cf638ca31fc9db95b33b92bf5aa4b2d1270";
|
||
|
sha256 = "01lfqlsbs1192v0kydz98qypbvl6h3vkjjj5cl6zcadq52macl5s";
|
||
|
};
|
||
|
meta.homepage = "https://github.com/lambdalisue/nerdfont.vim";
|
||
|
};
|
||
|
fern-renderer-nerdfont = pkgs.vimUtils.buildVimPlugin {
|
||
|
pname = "fern-renderer-nerdfont";
|
||
|
version = "git";
|
||
|
src = pkgs.fetchFromGitHub {
|
||
|
owner = "lambdalisue";
|
||
|
repo = "fern-renderer-nerdfont.vim";
|
||
|
rev = "942be10bda577ba4840c4a939200f05024b8603c";
|
||
|
sha256 = "0nz5ycs9r9w0in3jjmcm121ik3jggj4mj3r88fmk8bw1jwl1hffm";
|
||
|
};
|
||
|
meta.homepage =
|
||
|
"https://github.com/lambdalisue/fern-renderer-nerdfont.vim";
|
||
|
};
|
||
|
glyph-palette = pkgs.vimUtils.buildVimPlugin {
|
||
|
pname = "glyph-palette";
|
||
|
version = "git";
|
||
|
src = pkgs.fetchFromGitHub {
|
||
|
owner = "lambdalisue";
|
||
|
repo = "glyph-palette.vim";
|
||
|
rev = "a8ecb59733d8b4a2f45fdbcabf5174fdee18c4ec";
|
||
|
sha256 = "0pzlwiyvrp994f5d9sw2vymdi1s5x7ywvwm0n4vmv3i9q9yyhxja";
|
||
|
};
|
||
|
meta.homepage =
|
||
|
"https://github.com/lambdalisue/fern-renderer-nerdfont.vim";
|
||
|
};
|
||
|
fern-git-status = pkgs.vimUtils.buildVimPlugin {
|
||
|
pname = "fern-git-status";
|
||
|
version = "git";
|
||
|
src = pkgs.fetchFromGitHub {
|
||
|
owner = "lambdalisue";
|
||
|
repo = "fern-git-status.vim";
|
||
|
rev = "151336335d3b6975153dad77e60049ca7111da8e";
|
||
|
sha256 = "1iqd035psn953v162didqd72cb7f0n7w34c2qsf15qkyq3y97pzl";
|
||
|
};
|
||
|
meta.homepage = "https://github.com/lambdalisue/fern-git-status.vim";
|
||
|
};
|
||
|
fern-mapping-git = pkgs.vimUtils.buildVimPlugin {
|
||
|
pname = "fern-mapping-git";
|
||
|
version = "git";
|
||
|
src = pkgs.fetchFromGitHub {
|
||
|
owner = "lambdalisue";
|
||
|
repo = "fern-mapping-git.vim";
|
||
|
rev = "df5e7466df8596c95dd355d49a72893018919cf1";
|
||
|
sha256 = "1lhppbydg9wlc520042k6bqvwblvmr7xx0w44s2xwbwbffj6hjz3";
|
||
|
};
|
||
|
meta.homepage = "https://github.com/lambdalisue/fern-mapping-git.vim";
|
||
|
};
|
||
|
fern-hijack = pkgs.vimUtils.buildVimPlugin {
|
||
|
pname = "fern-hijack";
|
||
|
version = "git";
|
||
|
src = pkgs.fetchFromGitHub {
|
||
|
owner = "lambdalisue";
|
||
|
repo = "fern-hijack.vim";
|
||
|
rev = "24daa61d69b878947946e84a7711f8b58eae0f50";
|
||
|
sha256 = "1z8zracqk52rar6wra7n1hlvfa1xqks1x0np7rs1aq9g7d02d6wg";
|
||
|
};
|
||
|
meta.homepage = "https://github.com/lambdalisue/fern-hijack.vim";
|
||
|
};
|
||
|
black-vim = pkgs.vimUtils.buildVimPlugin {
|
||
|
pname = "black-vim";
|
||
|
version = "git";
|
||
|
src = pkgs.fetchFromGitHub {
|
||
|
owner = "psf";
|
||
|
repo = "black";
|
||
|
rev = "f1d4e742c91dd5179d742b0db9293c4472b765f8";
|
||
|
sha256 = "124a76cpl3xx9v2kbcprsajr149f93nib4hgacqii798m3mzm1x9";
|
||
|
};
|
||
|
meta.homepage = "https://github.com/psf/black";
|
||
|
};
|
||
|
|
||
|
in [ # nix-env -f '<nixpkgs>' -qaP -A vimPlugins
|
||
|
gitgutter
|
||
|
fugitive
|
||
|
vim-markdown
|
||
|
sensible
|
||
|
vim-unimpaired
|
||
|
vim-css-color
|
||
|
easymotion
|
||
|
vim-slime
|
||
|
rainbow
|
||
|
vim-jinja
|
||
|
gruvbox-community
|
||
|
deoplete-nvim
|
||
|
nerdcommenter
|
||
|
goyo
|
||
|
limelight-vim
|
||
|
fzf-vim
|
||
|
todo-txt-vim
|
||
|
airline
|
||
|
vim-airline-themes
|
||
|
vimwiki
|
||
|
vim-ledger
|
||
|
fern-vim
|
||
|
FixCursorHold-nvim
|
||
|
indentLine
|
||
|
tmux-navigator
|
||
|
neomake
|
||
|
ale
|
||
|
neoformat
|
||
|
vim-smoothie
|
||
|
ultisnips
|
||
|
vim-snippets
|
||
|
vim-nix
|
||
|
vim-terraform
|
||
|
|
||
|
nerdfont-vim
|
||
|
fern-renderer-nerdfont
|
||
|
glyph-palette
|
||
|
fern-git-status
|
||
|
fern-mapping-git
|
||
|
fern-hijack
|
||
|
black-vim
|
||
|
];
|
||
|
extraConfig = builtins.readFile ./init.vim;
|
||
|
};
|
||
|
}
|