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