From 1c8d529eb8ab631e3cb92437186ae5d060b375c0 Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Mon, 5 Jul 2021 08:33:11 -0700 Subject: Revert "fix: try to resolve root directory if file is not yet on disk" This reverts commit 625017df3e1e347ba35e7d6ef7a56efd096e8963. --- lua/lspconfig/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lspconfig/util.lua b/lua/lspconfig/util.lua index 028fe7f4..625d3170 100644 --- a/lua/lspconfig/util.lua +++ b/lua/lspconfig/util.lua @@ -161,7 +161,7 @@ M.path = (function() -- Iterate the path until we find the rootdir. local function iterate_parents(path) - path = uv.fs_realpath(path) or path + path = uv.fs_realpath(path) local function it(s, v) if not v then return -- cgit v1.2.3-70-g09d2