From 23a62d70129db30027ba620fc798a666c198ba35 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Fri, 16 Aug 2024 12:30:33 +0200 Subject: update --- nvim/lua/niliara/lsp.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nvim/lua/niliara/lsp.lua (limited to 'nvim/lua/niliara/lsp.lua') 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({}) + + -- cgit v1.2.3