mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-15 07:02:58 +02:00
added formatter + reformat existing codebase
This commit is contained in:
parent
0bf4313f22
commit
1cab8e5167
96 changed files with 3727 additions and 3341 deletions
|
@ -1,10 +1,13 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.plugins.null-ls;
|
||||
helpers = (import ../helpers.nix { inherit lib; });
|
||||
in
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.plugins.null-ls;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
in {
|
||||
imports = [
|
||||
./servers.nix
|
||||
];
|
||||
|
@ -36,15 +39,14 @@ in
|
|||
# };
|
||||
};
|
||||
|
||||
config =
|
||||
let
|
||||
options = {
|
||||
debug = cfg.debug;
|
||||
sources = cfg.sourcesItems;
|
||||
};
|
||||
in
|
||||
config = let
|
||||
options = {
|
||||
debug = cfg.debug;
|
||||
sources = cfg.sourcesItems;
|
||||
};
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
extraPlugins = [ cfg.package ];
|
||||
extraPlugins = [cfg.package];
|
||||
|
||||
extraConfigLua = ''
|
||||
require("null-ls").setup(${helpers.toLuaObject options})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue