From 53f51bca6a5235a38b2c6bcf73c02c0873ac7670 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 6 Mar 2022 23:19:20 +0900 Subject: feat(ui): info before hint --- fnl/nvrc/statusline.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl/nvrc') 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 [] -- cgit 1.4.1