mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 09:04:54 +02:00
plugins/colorschemes: migrate helpers -> lib.nixvim
This commit is contained in:
parent
b470800240
commit
fba168aba7
20 changed files with 236 additions and 220 deletions
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
helpers.neovim-plugin.mkNeovimPlugin config {
|
||||
lib.nixvim.neovim-plugin.mkNeovimPlugin config {
|
||||
name = "onedark";
|
||||
isColorscheme = true;
|
||||
originalName = "onedark.nvim";
|
||||
|
@ -39,7 +38,7 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
|||
extraConfig = cfg: {
|
||||
extraConfigLuaPre = ''
|
||||
_onedark = require('onedark')
|
||||
_onedark.setup(${helpers.toLuaObject cfg.settings})
|
||||
_onedark.setup(${lib.nixvim.toLuaObject cfg.settings})
|
||||
_onedark.load()
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue