mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-04-24 19:29:25 +02:00
neovim: Inherit scheme instead of slug from stylix
Fixes an issue where importing the path directly changed the slug name in stylix.
This commit is contained in:
parent
9bd004c3a8
commit
3b25740fb1
@ -1,7 +1,7 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (config.lib.stylix.scheme) slug;
|
inherit (config.lib.stylix.scheme) scheme;
|
||||||
inherit (pkgs) callPackage;
|
inherit (pkgs) callPackage;
|
||||||
|
|
||||||
base16-nvim = callPackage ../packages/base16-nvim.nix { };
|
base16-nvim = callPackage ../packages/base16-nvim.nix { };
|
||||||
@ -325,7 +325,7 @@ in
|
|||||||
{
|
{
|
||||||
plugin = base16-nvim;
|
plugin = base16-nvim;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = "vim.cmd('colorscheme base16-${slug}')";
|
config = "vim.cmd('colorscheme base16-${scheme}')";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = lualine-nvim;
|
plugin = lualine-nvim;
|
||||||
|
Loading…
Reference in New Issue
Block a user