summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-07 11:31:58 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-07 11:31:58 +0100
commitd10a8bf90ecb8a2369d08bb40744d3724d33b3d4 (patch)
treecda111c6a4884e62d0c4d707c28a3af0ad5f2b3e
parent92fc340de3d54bed8ac3da37a9aa0ae5b14b8b0c (diff)
Rename to configure-signs
-rw-r--r--fnl/plugins/lsp/diagnostics.fnl4
1 files changed, 2 insertions, 2 deletions
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}))