From 7df25e8ce3e98e4cb56c5eb47c6ada1f414e083c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 20 May 2023 00:08:22 +0200 Subject: Add icons file --- fnl/plugins/lsp/diagnostics.fnl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'fnl/plugins/lsp/diagnostics.fnl') diff --git a/fnl/plugins/lsp/diagnostics.fnl b/fnl/plugins/lsp/diagnostics.fnl index e9eca47..8676924 100644 --- a/fnl/plugins/lsp/diagnostics.fnl +++ b/fnl/plugins/lsp/diagnostics.fnl @@ -1,9 +1,11 @@ ;; Handlers for the requests and responses from and to the lsp server. -(local signs [{:name :DiagnosticSignError :text ""} - {:name :DiagnosticSignWarn :text ""} - {:name :DiagnosticSignHint :text ""} - {:name :DiagnosticSignInfo :text ""}]) +(local icons (require :plugins.icons)) + +(local signs [{:name :DiagnosticSignError :text (. icons :error)} + {:name :DiagnosticSignWarn :text (. icons :warn)} + {:name :DiagnosticSignHint :text (. icons :hint)} + {:name :DiagnosticSignInfo :text (. icons :info)}]) (fn apply-signs [] (each [_ sign (ipairs signs)] -- cgit v1.2.3-70-g09d2