summaryrefslogtreecommitdiff
path: root/fnl/plugins/lsp
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-05 01:50:20 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-05 01:50:20 +0100
commit2a94573f54c69a9af7536586ab2c03eb88bda5e7 (patch)
tree48e430773d56baef8c751fb8a6b4d76303b61636 /fnl/plugins/lsp
parent16198ca3bcd0ddd61f8d18280769c6f226b2b7ce (diff)
Refactor
Diffstat (limited to 'fnl/plugins/lsp')
-rw-r--r--fnl/plugins/lsp/diagnostics.fnl2
-rw-r--r--fnl/plugins/lsp/init.fnl2
-rw-r--r--fnl/plugins/lsp/mason.fnl2
3 files changed, 2 insertions, 4 deletions
diff --git a/fnl/plugins/lsp/diagnostics.fnl b/fnl/plugins/lsp/diagnostics.fnl
index 8676924..f4a2a74 100644
--- a/fnl/plugins/lsp/diagnostics.fnl
+++ b/fnl/plugins/lsp/diagnostics.fnl
@@ -1,6 +1,6 @@
;; Handlers for the requests and responses from and to the lsp server.
-(local icons (require :plugins.icons))
+(local icons (require :icons))
(local signs [{:name :DiagnosticSignError :text (. icons :error)}
{:name :DiagnosticSignWarn :text (. icons :warn)}
diff --git a/fnl/plugins/lsp/init.fnl b/fnl/plugins/lsp/init.fnl
index f04ba86..c06a5aa 100644
--- a/fnl/plugins/lsp/init.fnl
+++ b/fnl/plugins/lsp/init.fnl
@@ -1,3 +1 @@
;; Lsp plugins.
-
-[(require :plugins.lsp.lspconfig) (require :plugins.lsp.mason)]
diff --git a/fnl/plugins/lsp/mason.fnl b/fnl/plugins/lsp/mason.fnl
index f94f328..4187381 100644
--- a/fnl/plugins/lsp/mason.fnl
+++ b/fnl/plugins/lsp/mason.fnl
@@ -1,6 +1,6 @@
;; Mason manages external tooling, e.g. lsp, formatters, and linters.
-(local icons (require :plugins.icons))
+(local icons (require :icons))
(local opts {:ui {:border :single
:icons {:package_installed (.. (. icons :checkmark) " ")