From f6028fcbb9f2714f7f7c8fe1a967bd1969caaa11 Mon Sep 17 00:00:00 2001 From: Nydragon <6582485n@proton.me> Date: Thu, 16 May 2024 12:27:38 +0900 Subject: [PATCH] refactor: shuffle around order --- home/neovim/default.nix | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/home/neovim/default.nix b/home/neovim/default.nix index cc5ac7a..8e642ed 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -1,22 +1,23 @@ { pkgs, ... }: { - programs.neovim = - let - customR = pkgs.rWrapper.override { - packages = with pkgs.rPackages; [ - styler - languageserver - ]; - }; - in - { - defaultEditor = true; - viAlias = true; - vimAlias = true; - enable = true; - withPython3 = false; - withRuby = false; - extraPackages = with pkgs; [ + programs.neovim = { + defaultEditor = true; + viAlias = true; + vimAlias = true; + enable = true; + withPython3 = false; + withRuby = false; + extraPackages = + let + customR = pkgs.rWrapper.override { + packages = with pkgs.rPackages; [ + styler + languageserver + ]; + }; + in + with pkgs; + [ # Language Servers rust-analyzer nixd @@ -46,5 +47,5 @@ # R customR ]; - }; + }; }