Skip to content

Commit 6a7a78f

Browse files
committed
doc: updated GpWhisper doc in README
1 parent 44f6256 commit 6a7a78f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,12 +311,15 @@ Provides custom context per repository:
311311

312312
## Speech commands
313313

314-
#### `:GpWhisper` <!-- {doc=:GpWhisper} -->
314+
#### `:GpWhisper` {lang?} <!-- {doc=:GpWhisper} -->
315315

316316
Transcription replaces the current line, visual selection or range in the current buffer. Use your mouth to ask a question in a chat buffer instead of writing it by hand, dictate some comments for the code, notes or even your next novel..
317317

318318
For the rest of the whisper commands, the transcription is used as an editable prompt for the equivalent non whisper command - `GpWhisperRewrite` dictates instructions for `GpRewrite` etc.
319319

320+
You can override the default language by setting {lang} with the 2 letter
321+
shortname of your language (e.g. "en" for English, "fr" for French etc).
322+
320323
#### `:GpWhisperRewrite` <!-- {doc=:GpWhisperRewrite} -->
321324

322325
Similar to `:GpRewrite`, but the prompt instruction dialog uses transcribed spoken instructions.

0 commit comments

Comments
 (0)