Skip to content

Fix #1327: make sure to pass getModeFromPath() a filePath and not a uri

Administrator requested to merge fix/1327-hover-files-at-root-of-repo into master

Created by: lguychard

getModeFromPath() misbehaves when passed a URI instead of a filePath, and may wrongly return 'plaintext', notably when passed a URI to a document at the root of a repository (#1327)

Merge request reports

Loading