summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/custom-neovim')
-rw-r--r--pkgs/custom-neovim/config/init.fnl7
-rw-r--r--pkgs/custom-neovim/config/init.lua6
-rw-r--r--pkgs/custom-neovim/default.nix19
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.