mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -1,11 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.luaLoader;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.luaLoader = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
|
@ -27,9 +25,6 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
extraConfigLuaPre =
|
||||
if cfg.enable
|
||||
then "vim.loader.enable()"
|
||||
else "vim.loader.disable()";
|
||||
extraConfigLuaPre = if cfg.enable then "vim.loader.enable()" else "vim.loader.disable()";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue