mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-01 11:01:15 +00:00
trouble: remove redundant import
This commit is contained in:
parent
536feac331
commit
b59689dbd9
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
options,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
|
@ -8,8 +9,7 @@
|
|||
|
||||
cfg = config.vim.lsp;
|
||||
|
||||
self = import ./trouble.nix {inherit lib;};
|
||||
mappingDefinitions = self.options.vim.lsp.trouble.mappings;
|
||||
mappingDefinitions = options.vim.lsp.trouble.mappings;
|
||||
mappings = addDescriptionsToMappings cfg.trouble.mappings mappingDefinitions;
|
||||
in {
|
||||
config = mkIf (cfg.enable && cfg.trouble.enable) {
|
||||
|
|
Loading…
Reference in a new issue