diff options
| author | outremonde <outremonde@vivaldi.net> | 2025-06-14 21:05:04 -0400 |
|---|---|---|
| committer | outremonde <outremonde@vivaldi.net> | 2025-06-14 21:05:04 -0400 |
| commit | c32b23c4367b3f75b88855d7fd59c927ed46662f (patch) | |
| tree | f71e720c67397e14605e3e466162de90ca4c51f1 /pkgs | |
| parent | 803dbbda594c91f7db5f45ca8ca8c8258f5a2964 (diff) | |
custom neovim configured in fennel
Former-commit-id: d2cc9862798f736ade0b6377edf0b41bae3cf288
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/custom-neovim/config/init.fnl | 7 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/init.lua | 6 | ||||
| -rw-r--r-- | pkgs/custom-neovim/default.nix | 19 |
3 files changed, 29 insertions, 3 deletions
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. |
