Skip to content

Commit

Permalink
Mention that visual selections include diagnostics as well in README
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Slusny <[email protected]>
  • Loading branch information
deathbeam committed Nov 20, 2024
1 parent 3077c49 commit e6ddcee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ Selections are configurable either by default or by prompt.
Default selection is `visual` or `buffer` (if no visual selection).
Default supported selections that live in `local select = require("CopilotChat.select")` are:

- `select.visual` - Current visual selection. Works well with diffs.
- `select.buffer` - Current buffer content. Works well with diffs.
- `select.line` - Current line content. Works decently with diffs.
- `select.visual` - Current visual selection. Includes diagnostic in selection. Works well with diffs.
- `select.buffer` - Current buffer content. Includes diagnostic in selection. Works well with diffs.
- `select.line` - Current line content. Includes diagnostic in selection. Works decently with diffs.
- `select.unnamed` - Content from the unnamed register.
- `select.clipboard` - Content from system clipboard.

Expand Down

0 comments on commit e6ddcee

Please sign in to comment.