Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- programs.neovim = {
- enable = true;
- package = pkgs.unstable.neovim-unwrapped;
- defaultEditor = true;
- viAlias = true;
- vimAlias = true;
- withNodeJs = false;
- withPython3 = false;
- withRuby = false;
- extraPackages = with pkgs.unstable; [ ripgrep ];
- plugins = with pkgs.unstable.vimPlugins; [
- vim-fugitive
- vim-cool
- (fzf-lua.overrideAttrs (_final: prev: {
- dependencies = (prev.dependencies or [ ]) ++ [ nvim-web-devicons ];
- }))
- (conform-nvim.overrideAttrs (_final: prev:
- let linters = [ pkgs.unstable.nixpkgs-fmt ]; in
- {
- propagatedBuildInputs = (prev.propagatedBuildInputs or [ ]) ++ linters;
- propagatedNativeBuildInputs = (prev.propagatedNativeBuildInputs or [ ]) ++ linters;
- buildInputs = (prev.buildInputs or [ ]) ++ linters;
- nativeBuildInputs = (prev.nativeBuildInputs or [ ]) ++ linters;
- packages = (prev.packages or [ ]) ++ linters;
- }
- ))
- ];
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement