Skip to content

Commit

Permalink
Use latest available @vue/language-server package
Browse files Browse the repository at this point in the history
  • Loading branch information
April-Gras committed Oct 21, 2024
1 parent 6e16271 commit c66d934
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zed_vue"
version = "0.1.1"
version = "0.2.0"
edition = "2021"
publish = false
license = "Apache-2.0"
Expand Down
3 changes: 1 addition & 2 deletions src/vue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ impl VueExtension {
language_server_id,
&zed::LanguageServerInstallationStatus::CheckingForUpdate,
);
// We hardcode the version to 1.8 since we do not support @vue/language-server 2.0 yet.
let version = "1.8".to_string();
let version = zed::npm_package_latest_version(PACKAGE_NAME)?;

if !server_exists
|| zed::npm_package_installed_version(PACKAGE_NAME)?.as_ref() != Some(&version)
Expand Down

0 comments on commit c66d934

Please sign in to comment.