From bfbf5fbd39fa75847bf23da2c46d12fe2728fb78 Mon Sep 17 00:00:00 2001 From: William Boman Date: Wed, 1 Sep 2021 10:29:23 +0200 Subject: add Windows support (#70) --- lua/nvim-lsp-installer/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/nvim-lsp-installer/server.lua') diff --git a/lua/nvim-lsp-installer/server.lua b/lua/nvim-lsp-installer/server.lua index 5aa75825..d760f643 100644 --- a/lua/nvim-lsp-installer/server.lua +++ b/lua/nvim-lsp-installer/server.lua @@ -53,7 +53,7 @@ function M.Server:setup(opts) -- We require the lspconfig server here in order to do it as late as possible. -- The reason for this is because once a lspconfig server has been imported, it's -- automatically registered with lspconfig and causes it to show up in :LspInfo and whatnot. - require("lspconfig")[self.name].setup(vim.tbl_deep_extend("force", self._default_options, opts)) + require("lspconfig")[self.name].setup(vim.tbl_deep_extend("force", self._default_options, opts or {})) if self._post_setup then self._post_setup() end -- cgit v1.2.3-70-g09d2