about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-03-08 22:44:24 +0900
committersefidel <contact@sefidel.net>2022-03-08 22:44:24 +0900
commit991b3cb4bf46e57c81058d282b460d0bf5d714a7 (patch)
tree45c837028a60d4d82600fc75158caa433a98b938 /fnl
parent53f51bca6a5235a38b2c6bcf73c02c0873ac7670 (diff)
downloadnvimrc-991b3cb4bf46e57c81058d282b460d0bf5d714a7.tar.gz
nvimrc-991b3cb4bf46e57c81058d282b460d0bf5d714a7.zip
ui: fix diagnostics padding
Diffstat (limited to 'fnl')
-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 {})