summaryrefslogtreecommitdiff
path: root/fnl/plugins/lsp/diagnostics.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:03:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:03:58 +0200
commit7096adce11b93787170c09b79a6170d97b4a977c (patch)
tree1ccb3901136fc31728652e4db9595c1d7b1cccf5 /fnl/plugins/lsp/diagnostics.fnl
parentbeb3ed1effdc5dbd047c583598b83615075363b7 (diff)
Replace fn with λ and how cmds are imported
Diffstat (limited to 'fnl/plugins/lsp/diagnostics.fnl')
-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 9fbb627..5956e0e 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 configure-signs []
+(λ configure-signs []
(each [_ sign (ipairs signs)]
(vim.fn.sign_define sign.name {:texthl sign.name :text sign.text :numhl ""})))
@@ -23,7 +23,7 @@
:header ""
:prefix ""}})
-(fn setup []
+(λ setup []
(configure-signs)
(vim.diagnostic.config config)
(set vim.lsp.handlers.textDocument/hover false)