From 2ca83b2f17642610835980d2d0ed3445d19ddd4d Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:01:41 +0200 Subject: [PATCH] snippets: Bump to 0.0.3, add support for more languages (#13265) This fixes issues spotted by @eproxus in https://github.com/zed-industries/zed/pull/13253#issuecomment-2178724849 Release Notes: -N/A --- Cargo.lock | 2 +- extensions/snippets/Cargo.toml | 2 +- extensions/snippets/extension.toml | 9 ++++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e1412fea43..dc5947246d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13586,7 +13586,7 @@ dependencies = [ [[package]] name = "zed_snippets" -version = "0.0.2" +version = "0.0.3" dependencies = [ "serde_json", "zed_extension_api 0.0.6", diff --git a/extensions/snippets/Cargo.toml b/extensions/snippets/Cargo.toml index d5fe1e93f0..7a2e4419e8 100644 --- a/extensions/snippets/Cargo.toml +++ b/extensions/snippets/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zed_snippets" -version = "0.0.2" +version = "0.0.3" edition = "2021" publish = false license = "Apache-2.0" diff --git a/extensions/snippets/extension.toml b/extensions/snippets/extension.toml index 0bf78c8824..f9834783dd 100644 --- a/extensions/snippets/extension.toml +++ b/extensions/snippets/extension.toml @@ -1,12 +1,15 @@ id = "snippets" name = "Snippets" description = "Support for language-agnostic snippets, provided by simple-completion-language-server" -version = "0.0.2" +version = "0.0.3" schema_version = 1 authors = [] repository = "https://github.com/zed-industries/zed" [language_servers.snippet-completion-server] name = "Snippet Completion Server" -languages = ["TypeScript", "TSX", "JavaScript", "JSDoc", "Go", "Markdown", "Rust", "C", "C++", "PHP", "Python", "Ruby", "Shell"] -language_ids = { "TypeScript" = "typescript", "TSX" = "typescriptreact", "JavaScript" = "javascript" } +languages = ["Astro", "Clojure", "C", "C++", "C#", "Dart", "Elixir", "Elm", "ERB", "Erlang", + "Gleam","GLSL", "Go", "Haskell", "HCL", "HEEX", "HTML", "JavaScript","JSDoc","Lua", + "Markdown","OCaml", "PHP", "Python", "Prisma", "PureScript", "Racket", "Ruby", "Rust", "Scheme", + "Shell Script", "Svelte", "Terraform", "TOML", "TypeScript", "TSX", "Uiua", "Vue.js", "Zig"] +language_ids = { TypeScript = "typescript", TSX = "typescriptreact", JavaScript = "javascript", "Vue.js" = "vue", Terraform = "terraform", "Terraform Vars" = "terraform-vars", PHP = "php", HTML = "html", CSS = "css" }