mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-31 23:40:12 +02:00
plugins: do not import helpers.nix directly
This commit is contained in:
parent
9f3bbca7f1
commit
7dbf7f978c
13 changed files with 83 additions and 119 deletions
|
@ -12,10 +12,10 @@
|
|||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
helpers,
|
||||
...
|
||||
} @ args:
|
||||
}:
|
||||
with lib; let
|
||||
helpers = import ../helpers.nix args;
|
||||
cfg = config.plugins.none-ls.sources.${sourceType}.${name};
|
||||
# does this evaluate package?
|
||||
packageOption =
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
with lib; let
|
||||
helpers = import ./helpers.nix;
|
||||
cmpHelpers = import ./helpers.nix;
|
||||
serverData = {
|
||||
code_actions = {
|
||||
eslint = {
|
||||
|
@ -228,7 +228,7 @@ with lib; let
|
|||
dataFlattened = flatten serverDataFormatted;
|
||||
in {
|
||||
imports =
|
||||
(map helpers.mkServer dataFlattened)
|
||||
(map cmpHelpers.mkServer dataFlattened)
|
||||
++ [
|
||||
./prettier.nix
|
||||
# Introduced January 22 2024.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue