diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-16 01:40:16 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-10-16 01:40:16 +0200 |
commit | 6cb31718df762c6ebf764986074f08b19d6f82f8 (patch) | |
tree | 4bc60c9d94de082914ea9ab2d488114caff4edd4 /fnl/config/lsp/handlers.fnl | |
parent | 68c0f6bab06ea587b9b258d1ad3b0c9870bc163f (diff) |
Refactor loading of plugins with packer
Diffstat (limited to 'fnl/config/lsp/handlers.fnl')
-rw-r--r-- | fnl/config/lsp/handlers.fnl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/config/lsp/handlers.fnl b/fnl/config/lsp/handlers.fnl index c892a22..913a5a2 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 nvim aniseed.nvim}}) +(module config.lsp.handlers {autoload {:util :config.util nvim aniseed.nvim}}) (def- signs [{:name :DiagnosticSignError :text ""} {:name :DiagnosticSignWarn :text ""} @@ -55,5 +55,5 @@ (let [capabilities (vim.lsp.protocol.make_client_capabilities)] (set capabilities.textDocument.completion.completionItem.snippetSupport true) - (let [cmp-nvim-lsp (util.load-plugin :cmp_nvim_lsp)] - (cmp-nvim-lsp.update_capabilities capabilities)))) + (let [cmp-nvim-lsp (util.prequire :cmp_nvim_lsp)] + (cmp-nvim-lsp.default_capabilities capabilities)))) |