swyddfa / esbonio

A language server for working with Sphinx projects.
https://docs.esbon.io/
121 stars 21 forks source link

It's impossible to configure the server for projects located on a Windows network share #813

Open alcarney opened 1 month ago

alcarney commented 1 month ago

Expected behavior

Configuration options specified in config files/language client should apply to projects located on a Windows network share

Actual behavior

Since the server resolves uris given to it, a uri like file:///H:/path/to/file.rst can become file://shares.example.com/path/to/file.txt.

However, when populating the configuration cache, the uris are not always resolved, leading to a mismatch and the server thinks that the store config does not apply to the project.

Log output

No response

(Optional) Settings from conf.py

No response

alcarney commented 4 days ago

See https://github.com/swyddfa/esbonio/issues/731#issuecomment-2192514962 for another instance of this kind of issue