diff --git a/docs/src/completions.md b/docs/src/completions.md index 3cb8f73da9a6c0af97ad5ea5f0205a9814d51d19..e355ff2552be17bf10ff8fd4e8c9d1c62ab50335 100644 --- a/docs/src/completions.md +++ b/docs/src/completions.md @@ -1,6 +1,6 @@ # Completions -Zed supports supports two sources for completions: +Zed supports two sources for completions: 1. "Code Completions" provided by Language Servers (LSPs) automatically installed by Zed or via [Zed Language Extensions](languages.md). 2. "Inline Completions" provided by external APIs like [GitHub Copilot](#github-copilot) or [Supermaven](#supermaven). @@ -54,13 +54,13 @@ You should be able to sign-in to Supermaven by clicking on the Supermaven icon i Once you have configured an Inline Completions provider, you can start using inline completions in your code. Inline completions will appear as you type, and you can accept them by pressing `tab` or `enter` or hide them by pressing `esc`. -There a number of actions/shortcuts available to interact with inline completions: +There are a number of actions/shortcuts available to interact with inline completions: - `editor: accept inline completion` (`tab`): To accept the current inline completion -- `editor: accept partial inline completion` (`cmd-right`): To accept the current inline completion up to the next word boundary -- `editor: show inline completion` (`alt-\`): Trigger a inline completion request manually -- `editor: next inline completion` (`alt-]`): To cycle to the next inline completion -- `editor: previous inline completion` (`alt-[`): To cycle to the previous inline completion +- `editor: accept partial inline completion` (`ctrl-cmd-right`): To accept the current inline completion up to the next word boundary +- `editor: show inline completion` (`alt-tab`): Trigger an inline completion request manually +- `editor: next inline completion` (`alt-tab`): To cycle to the next inline completion +- `editor: previous inline completion` (`alt-shift-tab`): To cycle to the previous inline completion ### Disabling Inline-Completions @@ -72,7 +72,7 @@ To disable completions that appear automatically as you type, add the following } ``` -You can trigger inline completions manually by executing `editor: show inline completion` (`alt-\\`). +You can trigger inline completions manually by executing `editor: show inline completion` (`alt-tab`). You can also add this as a language-specific setting in your `settings.json` to disable inline completions for a specific language: diff --git a/docs/src/languages/lua.md b/docs/src/languages/lua.md index a9a05a53162374cc38ade2b76cc10b60037d8fcf..3bb9081f57761f636b992ea5288bed9570f8f765 100644 --- a/docs/src/languages/lua.md +++ b/docs/src/languages/lua.md @@ -23,9 +23,7 @@ See [LuaLS Settings Documentation](https://luals.github.io/wiki/settings/) for a "indent_style": "space", "indent_size": "4" }, - "workspace.library": [ - "../soemdir/library" - ] + "workspace.library": ["../soemdir/library"] } ```