From d10a8bf90ecb8a2369d08bb40744d3724d33b3d4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 7 Jan 2024 11:31:58 +0100 Subject: Rename to configure-signs --- fnl/plugins/lsp/diagnostics.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl/plugins') diff --git a/fnl/plugins/lsp/diagnostics.fnl b/fnl/plugins/lsp/diagnostics.fnl index 0ea5312..aa1bf4d 100644 --- a/fnl/plugins/lsp/diagnostics.fnl +++ b/fnl/plugins/lsp/diagnostics.fnl @@ -7,7 +7,7 @@ {:name :DiagnosticSignHint :text (. icons :hint)} {:name :DiagnosticSignInfo :text (. icons :info)}]) -(fn apply-signs [] +(fn configure-signs [] (each [_ sign (ipairs signs)] (vim.fn.sign_define sign.name {:texthl sign.name :text sign.text :numhl ""}))) @@ -24,7 +24,7 @@ :prefix ""}}) (fn setup [] - (apply-signs) + (configure-signs) (vim.diagnostic.config config) (set vim.lsp.handlers.textDocument/hover (vim.lsp.with {:border :rounded :width 60})) -- cgit v1.2.3-70-g09d2