From 991b3cb4bf46e57c81058d282b460d0bf5d714a7 Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 8 Mar 2022 22:44:24 +0900 Subject: ui: fix diagnostics padding --- fnl/nvrc/statusline.fnl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fnl/nvrc/statusline.fnl b/fnl/nvrc/statusline.fnl index af4cedc..45af772 100644 --- a/fnl/nvrc/statusline.fnl +++ b/fnl/nvrc/statusline.fnl @@ -12,14 +12,14 @@ (var hints "") (var info "") (when (not= (. count :errors) 0) - (set errors (.. "%#DiagnosticSignError#E" (. count :errors)))) + (set errors (.. "%#DiagnosticSignError#E" (. count :errors) " "))) (when (not= (. count :warnings) 0) (set warnings - (.. " %#DiagnosticSignWarn#W" (. count :warnings)))) + (.. "%#DiagnosticSignWarn#W" (. count :warnings) " "))) (when (not= (. count :info) 0) - (set info (.. " %#DiagnosticSignInformation#I" (. count :info)))) + (set info (.. "%#DiagnosticSignInformation#I" (. count :info) " "))) (when (not= (. count :hints) 0) - (set hints (.. " %#DiagnosticSignHint#H" (. count :hints)))) + (set hints (.. "%#DiagnosticSignHint#H" (. count :hints)))) (.. errors warnings info hints "%#StatusLine#"))) (global statusline {}) -- cgit 1.4.1