mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/nonels: move to by-name
This commit is contained in:
parent
40cb7af2b9
commit
fb677540e1
9 changed files with 4 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
lib:
|
lib:
|
||||||
let
|
let
|
||||||
inherit (import ../../lib/pkg-lists.nix lib) topLevel scoped nullAttrs;
|
inherit (import ../../../lib/pkg-lists.nix lib) topLevel scoped nullAttrs;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# builtin sources that don't require a package
|
# builtin sources that don't require a package
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
noneLsBuiltins = import ../../generated/none-ls.nix;
|
noneLsBuiltins = import ../../../generated/none-ls.nix;
|
||||||
mkSourcePlugin = import ./_mk-source-plugin.nix;
|
mkSourcePlugin = import ./_mk-source-plugin.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
|
@ -26,8 +26,6 @@
|
||||||
|
|
||||||
./lsp
|
./lsp
|
||||||
|
|
||||||
./none-ls
|
|
||||||
|
|
||||||
./pluginmanagers/packer.nix
|
./pluginmanagers/packer.nix
|
||||||
./pluginmanagers/lazy.nix
|
./pluginmanagers/lazy.nix
|
||||||
./pluginmanagers/lz-n.nix
|
./pluginmanagers/lz-n.nix
|
||||||
|
|
|
@ -40,11 +40,11 @@ let
|
||||||
errors = lib.concatStringsSep "\n" (
|
errors = lib.concatStringsSep "\n" (
|
||||||
checkDeclarations (
|
checkDeclarations (
|
||||||
let
|
let
|
||||||
inherit (import ../plugins/none-ls/packages.nix lib) noPackage packaged;
|
inherit (import ../plugins/by-name/none-ls/packages.nix lib) noPackage packaged;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
name = "none-ls";
|
name = "none-ls";
|
||||||
declarationFile = "plugins/none-ls/packages.nix";
|
declarationFile = "plugins/by-name/none-ls/packages.nix";
|
||||||
|
|
||||||
packages = builtins.filter (pkg: pkg != null) (builtins.attrValues packaged);
|
packages = builtins.filter (pkg: pkg != null) (builtins.attrValues packaged);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue