aboutsummaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/statusline.fnl6
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/nvrc/statusline.fnl b/fnl/nvrc/statusline.fnl
index fbac5a8..af4cedc 100644
--- a/fnl/nvrc/statusline.fnl
+++ b/fnl/nvrc/statusline.fnl
@@ -16,11 +16,11 @@
(when (not= (. count :warnings) 0)
(set warnings
(.. " %#DiagnosticSignWarn#W" (. count :warnings))))
- (when (not= (. count :hints) 0)
- (set hints (.. " %#DiagnosticSignHint#H" (. count :hints))))
(when (not= (. count :info) 0)
(set info (.. " %#DiagnosticSignInformation#I" (. count :info))))
- (.. errors warnings hints info "%#StatusLine#")))
+ (when (not= (. count :hints) 0)
+ (set hints (.. " %#DiagnosticSignHint#H" (. count :hints))))
+ (.. errors warnings info hints "%#StatusLine#")))
(global statusline {})
(set statusline.enable (fn []