mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-10-02 15:03:32 +00:00
Merge pull request #1161 from alfarelcynthesis/less-import
treewide: don't import modules manually
This commit is contained in:
commit
06bc21e75c
13 changed files with 27 additions and 34 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
options,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
|
@ -9,8 +10,8 @@
|
|||
inherit (lib.nvim.lua) toLuaObject;
|
||||
|
||||
cfg = config.vim.tabline.nvimBufferline;
|
||||
self = import ./nvim-bufferline.nix {inherit config lib;};
|
||||
inherit (self.options.vim.tabline.nvimBufferline) mappings;
|
||||
|
||||
inherit (options.vim.tabline.nvimBufferline) mappings;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue