mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
32 lines
667 B
Nix
32 lines
667 B
Nix
|
{ 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 [
|
||
|
moonfly
|
||
|
coc-rust-analyzer
|
||
|
coc-nvim
|
||
|
rust-vim
|
||
|
vim-nix
|
||
|
];
|
||
|
|
||
|
extraConfig = builtins.readFile ../rsrcs/.vimrc;
|
||
|
};
|
||
|
|
||
|
}
|