diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-07 22:32:53 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-07 22:32:53 +0200 |
commit | 71d538630b226da37e4ef21c5a84d6fad5f55421 (patch) | |
tree | 5f87a9c1194a556d12ffca79ea98a08d76af548e /fnl/config/lsp/init.fnl | |
parent | fa9a5c6b80b5b0ffdcddc4b1d1c6cfe887d0bb04 (diff) |
fix(load plugin): correct loading err
Diffstat (limited to 'fnl/config/lsp/init.fnl')
-rw-r--r-- | fnl/config/lsp/init.fnl | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/fnl/config/lsp/init.fnl b/fnl/config/lsp/init.fnl index 56d4096..aa61f61 100644 --- a/fnl/config/lsp/init.fnl +++ b/fnl/config/lsp/init.fnl @@ -2,11 +2,8 @@ (module config.lsp.init {autoload {util util}}) -(let [(ok? _) util.load-plugin :lspconfig] - (when ok? - (do - (require :config.lsp.lsp-installer) - ((require :config.lsp.handlers).setup) - (require :config.lsp.null-ls)))) - - +(let [_ (util.load-plugin :lspconfig)] + (do + (require :config.lsp.lsp-installer) + ((require :config.lsp.handlers).setup) + (require :config.lsp.null-ls))) |