summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-06 15:17:25 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-06 15:17:25 +0100
commit737da068980d559f89aa90060ba71235e40e40a3 (patch)
treed73b5b62f73c0250b12f3a382de916b4d8feba53 /fnl
parent00009883fb7c7f499125fa5779f09fdccfc5b109 (diff)
Remove diagnostics icons
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/lsp/diagnostics.fnl7
1 files changed, 0 insertions, 7 deletions
diff --git a/fnl/config/lsp/diagnostics.fnl b/fnl/config/lsp/diagnostics.fnl
index 094685f..a687870 100644
--- a/fnl/config/lsp/diagnostics.fnl
+++ b/fnl/config/lsp/diagnostics.fnl
@@ -1,11 +1,6 @@
;; Handlers for the requests and responses from and to the lsp server.
(module config.lsp.handlers {autoload {util config.util nvim aniseed.nvim}})
-(def- signs [{:name :DiagnosticSignError :text ""}
- {:name :DiagnosticSignWarn :text ""}
- {:name :DiagnosticSignHint :text ""}
- {:name :DiagnosticSignInfo :text ""}])
-
(defn- apply-signs [] (each [_ sign (ipairs signs)]
(vim.fn.sign_define sign.name
{:texthl sign.name
@@ -13,7 +8,6 @@
:numhl ""})))
(def- config {:virtual_text false
- :signs {:active signs}
:update_in_insert false
:underline true
:severity_sort true
@@ -25,7 +19,6 @@
:prefix ""}})
(do
- (apply-signs)
(vim.diagnostic.config config)
(set vim.lsp.handlers.textDocument/hover
(vim.lsp.with {:border :rounded :width 60}))