From c32b23c4367b3f75b88855d7fd59c927ed46662f Mon Sep 17 00:00:00 2001 From: outremonde Date: Sat, 14 Jun 2025 21:05:04 -0400 Subject: custom neovim configured in fennel Former-commit-id: d2cc9862798f736ade0b6377edf0b41bae3cf288 --- pkgs/custom-neovim/config/init.fnl | 7 +++++++ pkgs/custom-neovim/config/init.lua | 6 ++++++ pkgs/custom-neovim/default.nix | 19 ++++++++++++++++--- 3 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 pkgs/custom-neovim/config/init.fnl (limited to 'pkgs') diff --git a/pkgs/custom-neovim/config/init.fnl b/pkgs/custom-neovim/config/init.fnl new file mode 100644 index 0000000..44ee755 --- /dev/null +++ b/pkgs/custom-neovim/config/init.fnl @@ -0,0 +1,7 @@ +;; Import Hibiscus Macros +(import-macros { + : set! + : set+ + : exec!} :hibiscus.vim) + +(exec! "colorscheme evening") diff --git a/pkgs/custom-neovim/config/init.lua b/pkgs/custom-neovim/config/init.lua index e69de29..7f30256 100644 --- a/pkgs/custom-neovim/config/init.lua +++ b/pkgs/custom-neovim/config/init.lua @@ -0,0 +1,6 @@ +require 'tangerine'.setup { + compiler = { + verbose = false, + hooks = { "oninit" } + }, +} diff --git a/pkgs/custom-neovim/default.nix b/pkgs/custom-neovim/default.nix index 9c36ff5..a6e5b62 100644 --- a/pkgs/custom-neovim/default.nix +++ b/pkgs/custom-neovim/default.nix @@ -8,17 +8,30 @@ inputs.mnw.lib.wrap pkgs { plugins = with pkgs.vimPlugins; let tangerine-nvim = pkgs.vimUtils.buildVimPlugin { name = "tangerine-nvim"; - src = pkgs.fetchFromGithub { + src = pkgs.fetchFromGitHub { owner = "udayvir-singh"; repo = "tangerine.nvim"; tag = "v2.9"; - hash = ""; + 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 { - dev.config.pure = ./config; + 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. -- cgit v1.2.3