2022-10-09 21:31:30 -07:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
in
|
|
|
|
{
|
|
|
|
programs.vim = {
|
|
|
|
enable = true;
|
|
|
|
plugins = with pkgs.vimPlugins;
|
|
|
|
let
|
|
|
|
moonfly = pkgs.vimUtils.buildVimPlugin {
|
|
|
|
name = "moonfly";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "bluz71";
|
|
|
|
repo = "vim-moonfly-colors";
|
|
|
|
rev = "d51e3ad78654aa479d59adb81a98f179d595bdee";
|
|
|
|
sha256 = "0uHEB8uNQeGpVWuZfyrVAWTyefJMCitTmNpHmKVFOaQ=";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in [
|
2022-10-14 19:46:50 -07:00
|
|
|
vim-airline
|
|
|
|
vim-airline-themes
|
2022-10-09 21:31:30 -07:00
|
|
|
moonfly
|
2022-10-14 19:46:50 -07:00
|
|
|
|
2022-10-09 21:31:30 -07:00
|
|
|
coc-rust-analyzer
|
|
|
|
coc-nvim
|
|
|
|
rust-vim
|
2022-10-14 19:46:50 -07:00
|
|
|
|
2022-10-09 21:31:30 -07:00
|
|
|
vim-nix
|
2022-10-14 18:20:33 -07:00
|
|
|
typescript-vim
|
|
|
|
vim-javascript
|
2022-10-09 21:31:30 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
extraConfig = builtins.readFile ../rsrcs/.vimrc;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|