From cf72d636f766ba969b6ed2a560b7e9c2b75c7661 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 6 Apr 2022 22:37:18 +0200 Subject: feat(ls): add init --- fnl/config/lsp/init.fnl | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 fnl/config/lsp/init.fnl diff --git a/fnl/config/lsp/init.fnl b/fnl/config/lsp/init.fnl new file mode 100644 index 0000000..56d4096 --- /dev/null +++ b/fnl/config/lsp/init.fnl @@ -0,0 +1,12 @@ +;; Loads the LSP module. +(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)))) + + -- cgit v1.2.3-70-g09d2