summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-10 22:26:19 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-10 22:26:19 +0100
commit7e88016d60accae9598cb7b80f373c9e4b70ff57 (patch)
tree68c92bd255d4135fa66bad9ff67b0ed314c50aa6
parent6c14bdd8b2253d821d2a8e4b4f54584cdc4f4388 (diff)
Add lsp init
-rw-r--r--lua/plugins/lsp/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/plugins/lsp/init.lua b/lua/plugins/lsp/init.lua
new file mode 100644
index 0000000..0b8db93
--- /dev/null
+++ b/lua/plugins/lsp/init.lua
@@ -0,0 +1,9 @@
+-- Loads the LSP module.
+
+local status_ok, _ = pcall(require, "lspconfig")
+if not status_ok then
+ return
+end
+
+require("plugins.lsp.lsp-installer")
+require("plugins.lsp.handlers").setup()