From bbe48d229dcd4318ad79ce2830613c479c953032 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Fri, 23 Apr 2021 18:14:23 +0530 Subject: [PATCH] lspconfig: clean up --- lua/lspconfig/lua.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/lspconfig/lua.lua b/lua/lspconfig/lua.lua index 3b93643..0203a9e 100644 --- a/lua/lspconfig/lua.lua +++ b/lua/lspconfig/lua.lua @@ -43,9 +43,7 @@ local servers = {"html", "cssls", "tsserver", "pyright"} for k, lang in pairs(servers) do lspconf[lang].setup { - root_dir = function() - return vim.loop.cwd() - end + root_dir = vim.loop.cwd } end