mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
nixvim/plugins/lush-nvim: update to submodule for extraFiles
This commit is contained in:
parent
aeeb6a95f9
commit
2ec1eab1dc
@ -37,25 +37,27 @@ let
|
||||
in
|
||||
# This is based from rktjmp/lush-template. We'll improve on things from
|
||||
# here whenever necessary.
|
||||
lib.nameValuePair "colors/${name}.lua" ''
|
||||
${cfg.extraConfigLua}
|
||||
${theme.extraConfigLua}
|
||||
lib.nameValuePair "colors/${name}.lua" {
|
||||
text = ''
|
||||
${cfg.extraConfigLua}
|
||||
${theme.extraConfigLua}
|
||||
|
||||
vim.g.colors_name = '${name}'
|
||||
vim.o.termguicolors = true
|
||||
vim.g.colors_name = '${name}'
|
||||
vim.o.termguicolors = true
|
||||
|
||||
-- This needs to be parsed twice: once to generate the Lush spec
|
||||
-- and the other to actually apply the spec.
|
||||
--
|
||||
-- @diagnostic disable: undefined-global
|
||||
local spec = lush(function(injected_functions)
|
||||
local sym = injected_functions.sym
|
||||
return { ${lib.concatStringsSep "," highlightList} }
|
||||
end)
|
||||
-- This needs to be parsed twice: once to generate the Lush spec
|
||||
-- and the other to actually apply the spec.
|
||||
--
|
||||
-- @diagnostic disable: undefined-global
|
||||
local spec = lush(function(injected_functions)
|
||||
local sym = injected_functions.sym
|
||||
return { ${lib.concatStringsSep "," highlightList} }
|
||||
end)
|
||||
|
||||
-- We then apply the theme.
|
||||
lush(spec)
|
||||
'';
|
||||
-- We then apply the theme.
|
||||
lush(spec)
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
options.colorschemes.lush = {
|
||||
|
Loading…
Reference in New Issue
Block a user