From 2a94573f54c69a9af7536586ab2c03eb88bda5e7 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 5 Jan 2024 01:50:20 +0100 Subject: Refactor --- fnl/plugins/lsp/diagnostics.fnl | 2 +- fnl/plugins/lsp/init.fnl | 2 -- fnl/plugins/lsp/mason.fnl | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'fnl/plugins/lsp') 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) " ") -- cgit v1.2.3-70-g09d2