From d9a4a1e4b070480735b0693b5d0fb6a41e6416d6 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Sat, 8 Jan 2022 10:53:43 +0100 Subject: autopairs --- lua/user/lsp/lsp-installer.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lua/user/lsp/lsp-installer.lua') diff --git a/lua/user/lsp/lsp-installer.lua b/lua/user/lsp/lsp-installer.lua index 18490ce..4948d07 100644 --- a/lua/user/lsp/lsp-installer.lua +++ b/lua/user/lsp/lsp-installer.lua @@ -21,6 +21,11 @@ lsp_installer.on_server_ready(function(server) opts = vim.tbl_deep_extend("force", texlab_opts, opts) end + if server.name == "sumneko_lua" then + local sumneko_opts = require("user.lsp.settings.sumneko_lua") + opts = vim.tbl_deep_extend("force", sumneko_opts, opts) + end + -- This setup() function is exactly the same as lspconfig's setup function. -- Refer to https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md -- cgit v1.2.3