We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
volar.config.js
volar.config.js has no effect on Windows because the language server fails to resolve the file path.
This happens because of the path property on the URI class from vscode-uri. On windows it returns /c:/path instead of c:/path.
path
vscode-uri
/c:/path
c:/path
The fix is to use fsPath instead of path when calling loadConfig
fsPath
loadConfig
The text was updated successfully, but these errors were encountered:
Thanks for investigating it. 👍
Sorry, something went wrong.
32d173f
No branches or pull requests
volar.config.js
has no effect on Windows because the language server fails to resolve the file path.This happens because of the
path
property on the URI class fromvscode-uri
. On windows it returns/c:/path
instead ofc:/path
.The fix is to use
fsPath
instead ofpath
when callingloadConfig
The text was updated successfully, but these errors were encountered: