summaryrefslogtreecommitdiff
path: root/neovim.nix
diff options
context:
space:
mode:
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;};
+ };
+ };
+ };
+}