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
rowanwins committed Oct 7, 2024
1 parent 9c5bec5 commit b619736
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extensions/vue/extension.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id = "vue"
name = "Vue"
description = "Vue support."
version = "0.1.0"
version = "0.2.0"
schema_version = 1
authors = ["Piotr Osiewicz <piotr@zed.dev>"]
repository = "https://github.com/zed-industries/zed"
Expand Down
3 changes: 1 addition & 2 deletions extensions/vue/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 b619736

Please sign in to comment.