diff options
Diffstat (limited to 'lua/nvim-lsp-installer/path.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/path.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/path.lua b/lua/nvim-lsp-installer/path.lua index ed906954..533be48d 100644 --- a/lua/nvim-lsp-installer/path.lua +++ b/lua/nvim-lsp-installer/path.lua @@ -39,7 +39,7 @@ function M.realpath(relpath, depth) end function M.is_subdirectory(root_path, path) - return path:sub(1, #root_path) == root_path + return root_path == path or path:sub(1, #root_path + 1) == root_path .. sep end return M |
