summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-06 22:37:18 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-06 22:37:18 +0200
commitcf72d636f766ba969b6ed2a560b7e9c2b75c7661 (patch)
treea5d4967051b5b9c7632d5520dfef33e6d0aafcff /fnl/config
parent8348bd80ff4e4736bdf9586148aff72ff05ff882 (diff)
feat(ls): add init
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/lsp/init.fnl12
1 files changed, 12 insertions, 0 deletions
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))))
+
+