diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-22 19:49:44 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-22 19:49:44 +0300 |
| commit | 0478bd470c523c8a6e07d4fa4f11ca987c38cea9 (patch) | |
| tree | d31b8c40d6eb44bc4acd7149bc21ba18de50b204 /docs | |
| parent | dcb0eaee01ddcb1fa931970df246764f09383c0d (diff) | |
chat: remove ';;' as in-editor chat trigger to avoid conflict with inline ';;text;' completion; update docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/usage-examples.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/usage-examples.md b/docs/usage-examples.md index 8d8014e..8d628d8 100644 --- a/docs/usage-examples.md +++ b/docs/usage-examples.md @@ -32,7 +32,7 @@ Note: additional LSPs (`gopls`, `golangci-lint-lsp`) are optional; Hexai works w Ask a question at the end of a line and receive the answer inline. -- End your question line with a trigger: `..`, `??`, `!!`, `::`, or `;;`. +- End your question line with a trigger: `..`, `??`, `!!`, or `::`. - Hexai removes the trailing marker (last char for `..`/`??`/`!!`/`::`, both for `;;`). - It inserts a blank line, then a reply line prefixed with `> `, then one extra newline so most editors place the cursor on a fresh blank line after the answer. @@ -55,6 +55,7 @@ Context: Hexai includes up to the three most recent Q/A pairs above the question Hexai supports inline prompt tags you can type in code to request an action from the LLM and then auto-clean the tag. The strict semicolon form is supported: - `;do something;` — Hexai uses the text between semicolons as the instruction and removes only the prompt. Strict form requires no space after the first `;` and no space before the closing `;`. +- `;;do someting;` - Same as above, but replace the current line with the completion Spaced variants (e.g., `; spaced ;`) are ignored. |
