summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/diagnostics.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/lsp/diagnostics.fnl')
-rw-r--r--fnl/config/lsp/diagnostics.fnl14
1 files changed, 8 insertions, 6 deletions
diff --git a/fnl/config/lsp/diagnostics.fnl b/fnl/config/lsp/diagnostics.fnl
index adf098d..094685f 100644
--- a/fnl/config/lsp/diagnostics.fnl
+++ b/fnl/config/lsp/diagnostics.fnl
@@ -24,9 +24,11 @@
:header ""
:prefix ""}})
-(defn setup [] (apply-signs) (vim.diagnostic.config config)
- (set vim.lsp.handlers.textDocument/hover
- (vim.lsp.with {:border :rounded :width 60}))
- (set vim.lsp.handlers.textDocument/signatureHelp
- (vim.lsp.with vim.lsp.handlers.signature_help
- {:border :rounded :width 60})))
+(do
+ (apply-signs)
+ (vim.diagnostic.config config)
+ (set vim.lsp.handlers.textDocument/hover
+ (vim.lsp.with {:border :rounded :width 60}))
+ (set vim.lsp.handlers.textDocument/signatureHelp
+ (vim.lsp.with vim.lsp.handlers.signature_help
+ {:border :rounded :width 60})))