emmet: Use index.js directly to launch language server (#36126)

This PR updates the Emmet extension to use the `index.js` file directly
to launch the language server.

This provides better cross-platform support, as we're not relying on
platform-specific `.bin` wrappers.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-08-13 12:34:18 -04:00 committed by GitHub
parent d9a94a5496
commit 2da80e4641
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ struct EmmetExtension {
did_find_server: bool,
}
const SERVER_PATH: &str = "node_modules/.bin/emmet-language-server";
const SERVER_PATH: &str = "node_modules/@olrtg/emmet-language-server/dist/index.js";
const PACKAGE_NAME: &str = "@olrtg/emmet-language-server";
impl EmmetExtension {