mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-13 16:29:38 +01: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, ... }:
|
||||
|
||||
let
|
||||
inherit (config.lib.stylix.scheme) slug;
|
||||
inherit (config.lib.stylix.scheme) scheme;
|
||||
inherit (pkgs) callPackage;
|
||||
|
||||
base16-nvim = callPackage ../packages/base16-nvim.nix { };
|
||||
@ -325,7 +325,7 @@ in
|
||||
{
|
||||
plugin = base16-nvim;
|
||||
type = "lua";
|
||||
config = "vim.cmd('colorscheme base16-${slug}')";
|
||||
config = "vim.cmd('colorscheme base16-${scheme}')";
|
||||
}
|
||||
{
|
||||
plugin = lualine-nvim;
|
||||
|
Loading…
Reference in New Issue
Block a user