Skip to content

Commit

Permalink
Add Lua extension (#531)
Browse files Browse the repository at this point in the history
This PR adds the Lua extension.

Lua support was extracted from Zed in
zed-industries/zed#10437.
  • Loading branch information
maxdeviant authored Apr 12, 2024
1 parent eb92d23 commit 6d49ba4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions extensions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ version = "0.0.3"
submodule = "extensions/lox"
version = "0.0.1"

[lua]
submodule = "extensions/zed"
path = "extensions/lua"
version = "0.0.1"

[macos-classic]
submodule = "extensions/macos-classic"
version = "0.0.7"
Expand Down
2 changes: 1 addition & 1 deletion extensions/zed
Submodule zed updated 67 files
+150 −20 Cargo.lock
+4 −2 Cargo.toml
+4 −1 assets/settings/default.json
+7 −0 crates/breadcrumbs/src/breadcrumbs.rs
+2 −2 crates/channel/src/channel_store_tests.rs
+9 −0 crates/collab/migrations/20240409082755_create_embeddings.sql
+1 −0 crates/collab/src/db/queries.rs
+94 −0 crates/collab/src/db/queries/embeddings.rs
+1 −0 crates/collab/src/db/tables.rs
+18 −0 crates/collab/src/db/tables/embedding.rs
+1 −0 crates/collab/src/db/tests.rs
+84 −0 crates/collab/src/db/tests/embedding_tests.rs
+4 −3 crates/collab/src/main.rs
+140 −2 crates/collab/src/rpc.rs
+5 −0 crates/editor/src/editor.rs
+1 −1 crates/editor/src/git/blame.rs
+6 −1 crates/editor/src/items.rs
+8 −9 crates/extension/src/extension_lsp_adapter.rs
+2 −0 crates/extension/src/extension_manifest.rs
+1 −0 crates/extensions_ui/src/extension_suggest.rs
+14 −19 crates/gpui/src/app/test_context.rs
+6 −1 crates/gpui/src/executor.rs
+12 −15 crates/gpui/src/platform/windows/display.rs
+4 −2 crates/gpui/src/platform/windows/platform.rs
+11 −1 crates/language/src/language.rs
+0 −2 crates/languages/Cargo.toml
+4 −9 crates/languages/src/lib.rs
+0 −242 crates/languages/src/vue.rs
+69 −2 crates/open_ai/src/open_ai.rs
+48 −0 crates/project/src/project.rs
+3 −3 crates/project/src/project_tests.rs
+23 −22 crates/project/src/task_inventory.rs
+310 −8 crates/project_panel/src/project_panel.rs
+8 −2 crates/project_panel/src/project_panel_settings.rs
+29 −1 crates/rpc/proto/zed.proto
+6 −0 crates/rpc/src/proto.rs
+48 −0 crates/semantic_index/Cargo.toml
+1 −0 crates/semantic_index/LICENSE-GPL
+140 −0 crates/semantic_index/examples/index.rs
+3 −0 crates/semantic_index/fixture/main.rs
+43 −0 crates/semantic_index/fixture/needle.md
+409 −0 crates/semantic_index/src/chunking.rs
+125 −0 crates/semantic_index/src/embedding.rs
+88 −0 crates/semantic_index/src/embedding/cloud.rs
+74 −0 crates/semantic_index/src/embedding/ollama.rs
+55 −0 crates/semantic_index/src/embedding/open_ai.rs
+954 −0 crates/semantic_index/src/semantic_index.rs
+16 −10 crates/task/src/lib.rs
+208 −85 crates/task/src/task_template.rs
+13 −19 crates/tasks_ui/src/lib.rs
+2 −3 crates/tasks_ui/src/modal.rs
+4 −2 crates/terminal/src/terminal.rs
+1 −0 crates/terminal_view/src/terminal_view.rs
+22 −6 crates/util/src/http.rs
+2 −1 crates/workspace/src/item.rs
+2 −2 crates/worktree/src/worktree.rs
+1 −1 extensions/lua/extension.toml
+3 −0 extensions/terraform/extension.toml
+16 −0 extensions/vue/Cargo.toml
+1 −0 extensions/vue/LICENSE-APACHE
+18 −0 extensions/vue/extension.toml
+0 −0 extensions/vue/languages/vue/brackets.scm
+0 −0 extensions/vue/languages/vue/config.toml
+0 −0 extensions/vue/languages/vue/highlights.scm
+0 −0 extensions/vue/languages/vue/injections.scm
+0 −0 extensions/vue/languages/vue/overrides.scm
+135 −0 extensions/vue/src/vue.rs

0 comments on commit 6d49ba4

Please sign in to comment.