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
This commit is contained in:
Piotr Osiewicz 2024-06-19 16:01:41 +02:00 committed by GitHub
parent ddf07253c4
commit 2ca83b2f17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 5 deletions

2
Cargo.lock generated
View file

@ -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",

View file

@ -1,6 +1,6 @@
[package]
name = "zed_snippets"
version = "0.0.2"
version = "0.0.3"
edition = "2021"
publish = false
license = "Apache-2.0"

View file

@ -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" }