Explorar o código

fix(bufferline): add an additional space before diagnostics (#2367)

Max Verevkin %!s(int64=3) %!d(string=hai) anos
pai
achega
80810c36de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lua/lvim/core/bufferline.lua

+ 1 - 1
lua/lvim/core/bufferline.lua

@@ -9,7 +9,7 @@ local function diagnostics_indicator(_, _, diagnostics)
   local symbols = { error = "", warning = "", info = "" }
   for name, count in pairs(diagnostics) do
     if symbols[name] and count > 0 then
-      table.insert(result, symbols[name] .. count)
+      table.insert(result, symbols[name] .. " " .. count)
     end
   end
   result = table.concat(result, " ")