diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-06 22:37:18 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-06 22:37:18 +0200 |
commit | cf72d636f766ba969b6ed2a560b7e9c2b75c7661 (patch) | |
tree | a5d4967051b5b9c7632d5520dfef33e6d0aafcff /fnl | |
parent | 8348bd80ff4e4736bdf9586148aff72ff05ff882 (diff) |
feat(ls): add init
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/config/lsp/init.fnl | 12 |
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)))) + + |