diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-17 22:08:02 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-17 22:08:02 +0200 |
commit | 4090ef28468e4f70525eb86a0dadacca998c391f (patch) | |
tree | f67710de17757f60661301cb9648cf16795e2a3e /fnl/config/lsp | |
parent | a9c696bde8ec106f8f3ecaedbf1bf2850ab3fbca (diff) |
Improve util import
Diffstat (limited to 'fnl/config/lsp')
-rw-r--r-- | fnl/config/lsp/handlers.fnl | 2 | ||||
-rw-r--r-- | fnl/config/lsp/init.fnl | 2 | ||||
-rw-r--r-- | fnl/config/lsp/lsp-installer.fnl | 2 | ||||
-rw-r--r-- | fnl/config/lsp/null-ls.fnl | 2 | ||||
-rw-r--r-- | fnl/config/lsp/settings/jsonls.fnl | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/fnl/config/lsp/handlers.fnl b/fnl/config/lsp/handlers.fnl index 1e087d8..c892a22 100644 --- a/fnl/config/lsp/handlers.fnl +++ b/fnl/config/lsp/handlers.fnl @@ -1,5 +1,5 @@ ;; Handlers for the requests and responses from and to the lsp server. -(module config.lsp.handlers {autoload {util util nvim aniseed.nvim}}) +(module config.lsp.handlers {autoload {: util nvim aniseed.nvim}}) (def- signs [{:name :DiagnosticSignError :text ""} {:name :DiagnosticSignWarn :text ""} diff --git a/fnl/config/lsp/init.fnl b/fnl/config/lsp/init.fnl index 0506e4f..04a3907 100644 --- a/fnl/config/lsp/init.fnl +++ b/fnl/config/lsp/init.fnl @@ -1,5 +1,5 @@ ;; Loads the LSP functionality. -(module config.lsp.init {autoload {util util}}) +(module config.lsp.init {autoload {: util}}) (require :config.lsp.lsp-installer) (let [handlers (require :config.lsp.handlers)] diff --git a/fnl/config/lsp/lsp-installer.fnl b/fnl/config/lsp/lsp-installer.fnl index 9a3215a..1ad0af7 100644 --- a/fnl/config/lsp/lsp-installer.fnl +++ b/fnl/config/lsp/lsp-installer.fnl @@ -1,5 +1,5 @@ ;; Loads default handlers and specific language settings. -(module config.lsp.lsp-installer {autoload {util util}}) +(module config.lsp.lsp-installer {autoload {: util}}) (def- default-servers {:bashls true :clangd true diff --git a/fnl/config/lsp/null-ls.fnl b/fnl/config/lsp/null-ls.fnl index b4b75c6..a1e16c2 100644 --- a/fnl/config/lsp/null-ls.fnl +++ b/fnl/config/lsp/null-ls.fnl @@ -1,5 +1,5 @@ ;; Adds LSP diagnostics and formatting. -(module config.lsp.null-ls {autoload {util util}}) +(module config.lsp.null-ls {autoload {: util}}) (let [null-ls (util.load-plugin :null-ls)] (let [formatting null-ls.builtins.formatting diff --git a/fnl/config/lsp/settings/jsonls.fnl b/fnl/config/lsp/settings/jsonls.fnl index 18d9256..a2cb78c 100644 --- a/fnl/config/lsp/settings/jsonls.fnl +++ b/fnl/config/lsp/settings/jsonls.fnl @@ -1,5 +1,5 @@ ;; Json schema store catalog language server. -(module config.lsp.settings.jsonls {autoload {util util}}) +(module config.lsp.settings.jsonls {autoload {: util}}) (let [schemastore (util.load-plugin :schemastore)] {:init_options {:providerFormatter false} |