diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-07-05 08:33:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-05 08:33:11 -0700 |
| commit | 1c8d529eb8ab631e3cb92437186ae5d060b375c0 (patch) | |
| tree | f7848a36b59457731f071519fc8657c5e9509d05 /lua | |
| parent | [docgen] Update CONFIG.md (diff) | |
| download | nvim-lspconfig-1c8d529eb8ab631e3cb92437186ae5d060b375c0.tar nvim-lspconfig-1c8d529eb8ab631e3cb92437186ae5d060b375c0.tar.gz nvim-lspconfig-1c8d529eb8ab631e3cb92437186ae5d060b375c0.tar.bz2 nvim-lspconfig-1c8d529eb8ab631e3cb92437186ae5d060b375c0.tar.lz nvim-lspconfig-1c8d529eb8ab631e3cb92437186ae5d060b375c0.tar.xz nvim-lspconfig-1c8d529eb8ab631e3cb92437186ae5d060b375c0.tar.zst nvim-lspconfig-1c8d529eb8ab631e3cb92437186ae5d060b375c0.zip | |
Revert "fix: try to resolve root directory if file is not yet on disk"
This reverts commit 625017df3e1e347ba35e7d6ef7a56efd096e8963.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
