Advertisement
Guest User

Untitled

a guest
Jun 8th, 2024
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. programs.neovim = {
  2. enable = true;
  3. package = pkgs.unstable.neovim-unwrapped;
  4. defaultEditor = true;
  5. viAlias = true;
  6. vimAlias = true;
  7. withNodeJs = false;
  8. withPython3 = false;
  9. withRuby = false;
  10. extraPackages = with pkgs.unstable; [ ripgrep ];
  11. plugins = with pkgs.unstable.vimPlugins; [
  12. vim-fugitive
  13. vim-cool
  14. (fzf-lua.overrideAttrs (_final: prev: {
  15. dependencies = (prev.dependencies or [ ]) ++ [ nvim-web-devicons ];
  16. }))
  17. (conform-nvim.overrideAttrs (_final: prev:
  18. let linters = [ pkgs.unstable.nixpkgs-fmt ]; in
  19. {
  20. propagatedBuildInputs = (prev.propagatedBuildInputs or [ ]) ++ linters;
  21. propagatedNativeBuildInputs = (prev.propagatedNativeBuildInputs or [ ]) ++ linters;
  22. buildInputs = (prev.buildInputs or [ ]) ++ linters;
  23. nativeBuildInputs = (prev.nativeBuildInputs or [ ]) ++ linters;
  24. packages = (prev.packages or [ ]) ++ linters;
  25. }
  26. ))
  27. ];
  28. };
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement