From 9d0051e6b4170851ebcc09e7ff44097818c8e1dc Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 17 Sep 2023 04:54:00 -0400 Subject: start using willruggiano/neovim.nix --- neovim.nix | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 neovim.nix (limited to 'neovim.nix') diff --git a/neovim.nix b/neovim.nix new file mode 100644 index 0000000..5ade53e --- /dev/null +++ b/neovim.nix @@ -0,0 +1,41 @@ +{ + perSystem = {pkgs, ...}: { + neovim = { + package = pkgs.neovim-unwrapped; + + paths = with pkgs; [ + # external tools + fd + git + ripgrep + just + + # lint + actionlint + codespell + deadnix + nodePackages.alex + shellcheck + statix + + # format + alejandra + beautysh + stylua + + # lsp + nil + sumneko-lua-language-server + ]; + + lazy = { + settings = { + performance.rtp.reset = true; + install.colorscheme = ["catppuccin"]; + }; + + plugins = import ./plugins {inherit pkgs;}; + }; + }; + }; +} -- cgit v1.2.3