summaryrefslogtreecommitdiff
path: root/neovim.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-17 04:54:00 -0400
committerseth <[email protected]>2023-10-07 12:55:41 -0400
commit9d0051e6b4170851ebcc09e7ff44097818c8e1dc (patch)
tree067e1d6b745fc61aeb9b885439482f946bbdf2fe /neovim.nix
parente910460767dd835c7fb8aa7a59082e645c207cbd (diff)
start using willruggiano/neovim.nix
Diffstat (limited to 'neovim.nix')
-rw-r--r--neovim.nix41
1 files changed, 41 insertions, 0 deletions
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;};
+ };
+ };
+ };
+}