treewide: Reformat with nixfmt

This commit is contained in:
traxys 2024-05-05 19:39:35 +02:00
parent c6281260dc
commit 62f32bfc71
459 changed files with 28139 additions and 26377 deletions

View file

@ -5,9 +5,11 @@
pkgs,
...
}:
with lib; let
with lib;
let
cfg = config.plugins.lsp-lines;
in {
in
{
options = {
plugins.lsp-lines = {
enable = mkEnableOption "lsp_lines.nvim";
@ -22,19 +24,15 @@ in {
};
};
config = let
diagnosticConfig = {
virtual_text = false;
virtual_lines =
if cfg.currentLine
then {
only_current_line = true;
}
else true;
};
in
config =
let
diagnosticConfig = {
virtual_text = false;
virtual_lines = if cfg.currentLine then { only_current_line = true; } else true;
};
in
mkIf cfg.enable {
extraPlugins = [cfg.package];
extraPlugins = [ cfg.package ];
extraConfigLua = ''
do