this derivation will be built: /nix/store/5pczrqyq1jcm1kwmz308ls5hb0mbfilc-treefmt-check.drv building '/nix/store/5pczrqyq1jcm1kwmz308ls5hb0mbfilc-treefmt-check.drv' treefmt-check> treefmt v2.6.0traversed 1589 files treefmt-check> emitted 848 files for processing treefmt-check> formatted 848 files (1 changed) in 1.647s treefmt-check> M config/nvim/lua/teto/cursorline.lua treefmt-check> diff --git a/config/nvim/lua/teto/cursorline.lua b/config/nvim/lua/teto/cursorline.lua treefmt-check> index 0e2ebc4..c2fdd24 100644 treefmt-check> --- a/config/nvim/lua/teto/cursorline.lua treefmt-check> +++ b/config/nvim/lua/teto/cursorline.lua treefmt-check> @@ -29,8 +29,10 @@ local function update_cursorline() treefmt-check> local mappings = {} treefmt-check> for mapping in vim.wo[win].winhighlight:gmatch('[^,]+') do treefmt-check> if mapping:match('^CursorLine:') then treefmt-check> - if mapping ~= 'CursorLine:DiagnosticCursorLineError' treefmt-check> - and mapping ~= 'CursorLine:DiagnosticCursorLineWarn' then treefmt-check> + if treefmt-check> + mapping ~= 'CursorLine:DiagnosticCursorLineError' treefmt-check> + and mapping ~= 'CursorLine:DiagnosticCursorLineWarn' treefmt-check> + then treefmt-check> saved_mappings[win] = mapping treefmt-check> end treefmt-check> else error: Cannot build '/nix/store/5pczrqyq1jcm1kwmz308ls5hb0mbfilc-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/acysnfpwxm6j6ri6ab97af2nnh86xssn-treefmt-check Last 21 log lines: > treefmt v2.6.0traversed 1589 files > emitted 848 files for processing > formatted 848 files (1 changed) in 1.647s > M config/nvim/lua/teto/cursorline.lua > diff --git a/config/nvim/lua/teto/cursorline.lua b/config/nvim/lua/teto/cursorline.lua > index 0e2ebc4..c2fdd24 100644 > --- a/config/nvim/lua/teto/cursorline.lua > +++ b/config/nvim/lua/teto/cursorline.lua > @@ -29,8 +29,10 @@ local function update_cursorline() > local mappings = {} > for mapping in vim.wo[win].winhighlight:gmatch('[^,]+') do > if mapping:match('^CursorLine:') then > - if mapping ~= 'CursorLine:DiagnosticCursorLineError' > - and mapping ~= 'CursorLine:DiagnosticCursorLineWarn' then > + if > + mapping ~= 'CursorLine:DiagnosticCursorLineError' > + and mapping ~= 'CursorLine:DiagnosticCursorLineWarn' > + then > saved_mappings[win] = mapping > end > else For full logs, run: nix log /nix/store/5pczrqyq1jcm1kwmz308ls5hb0mbfilc-treefmt-check.drv