From a1f1e24d62a0ea5f633324c6362b566abf9ec66c Mon Sep 17 00:00:00 2001 From: triethyl Date: Thu, 3 Jul 2025 10:06:37 -0400 Subject: rearranged fennel and lua code Former-commit-id: a5f5aa6e19e52b3734a395369a9b40b9833aa27a --- pkgs/custom-neovim/default.nix | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'pkgs/custom-neovim/default.nix') diff --git a/pkgs/custom-neovim/default.nix b/pkgs/custom-neovim/default.nix index a6e5b62..acf24f1 100644 --- a/pkgs/custom-neovim/default.nix +++ b/pkgs/custom-neovim/default.nix @@ -5,34 +5,12 @@ inputs.mnw.lib.wrap pkgs { neovim = pkgs.neovim-unwrapped; - plugins = with pkgs.vimPlugins; let - tangerine-nvim = pkgs.vimUtils.buildVimPlugin { - name = "tangerine-nvim"; - src = pkgs.fetchFromGitHub { - owner = "udayvir-singh"; - repo = "tangerine.nvim"; - tag = "v2.9"; - hash = "sha256-C4QmsW83SxTn+eIkCMWDnd/Vdc9Mb7yD7a0bYSiIRJI="; - }; - }; - hibiscus-nvim = pkgs.vimUtils.buildVimPlugin { - name = "hibiscus-nvim"; - src = pkgs.fetchFromGitHub { - owner = "udayvir-singh"; - repo = "hibiscus.nvim"; - tag = "v1.7"; - hash = "sha256-fjdwT2rdDZ6OF4SByMrcvFNXhF4lhBwzmTLhpwgOQ6o="; - }; - }; - in { + plugins = with pkgs.vimPlugins; { dev.config = { pure = ./config; impure = "/home/culsans/Sync/setup/pkgs/custom-neovim"; }; start = [ - tangerine-nvim # Allow configuration in fennel. - hibiscus-nvim # Adds extra fennel macros. - # Core Plugins mini-nvim # Ton of small modules. nvim-lspconfig # Adds lsp presets. @@ -57,6 +35,11 @@ inputs.mnw.lib.wrap pkgs { luaFiles = [./config/init.lua]; + extraLuaPackages = lua: + with lua; [ + fennel + ]; + extraBinPath = with pkgs; [ # LSP Servers lua-language-server # Lua LS -- cgit v1.2.3