Skip to content

Commit

Permalink
snippets: Bump to 0.0.3, add support for more languages (#13265)
Browse files Browse the repository at this point in the history
This fixes issues spotted by @eproxus in
#13253 (comment)
Release Notes:
 -N/A
  • Loading branch information
osiewicz committed Jun 19, 2024
1 parent ddf0725 commit 2ca83b2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 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 extensions/snippets/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zed_snippets"
version = "0.0.2"
version = "0.0.3"
edition = "2021"
publish = false
license = "Apache-2.0"
Expand Down
9 changes: 6 additions & 3 deletions extensions/snippets/extension.toml
Original file line number Diff line number Diff line change
@@ -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" }

0 comments on commit 2ca83b2

Please sign in to comment.