summaryrefslogtreecommitdiff
path: root/nvim/lua/niliara/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/niliara/lsp.lua')
-rw-r--r--nvim/lua/niliara/lsp.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/nvim/lua/niliara/lsp.lua b/nvim/lua/niliara/lsp.lua
new file mode 100644
index 0000000..e833937
--- /dev/null
+++ b/nvim/lua/niliara/lsp.lua
@@ -0,0 +1,16 @@
+local lsp_zero = require('lsp-zero')
+
+lsp_zero.on_attach(function(client, bufnr)
+ lsp_zero.default_keymaps({buffer = bufnr})
+end)
+
+local lspconfig = require('lspconfig')
+
+lspconfig.lua_ls.setup({})
+lspconfig.perlls.setup({})
+lspconfig.pylsp.setup({})
+lspconfig.rust_analyzer.setup({})
+lspconfig.sqls.setup({})
+lspconfig.emmet_ls.setup({})
+
+