summaryrefslogtreecommitdiff
path: root/nvim/lua/niliara/lsp.lua
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-08-16 12:30:33 +0200
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-08-16 12:30:33 +0200
commit23a62d70129db30027ba620fc798a666c198ba35 (patch)
tree51b59657991b10665936e33bb7fcee3873f371ef /nvim/lua/niliara/lsp.lua
parent37d4a19152bbb2a83f4c0ce7172388240252d8f1 (diff)
update
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({})
+
+