about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/statusline.fnl8
1 files 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 {})