Skip to content

Commit ed2e424

Browse files
committed
doc: update instruction on builtin completion.
1 parent 972f1f5 commit ed2e424

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,16 @@ source rather than through LSP for two main reasons:
218218
1. `blink-cmp` and `nvim-cmp` offer better sorting and async management when
219219
Minuet is utilized as a separate source rather than alongside a regular LSP
220220
such as `clangd`.
221-
2. With `blink-cmp` and `nvim-cmp` native sources, you can manually invoke
222-
Minuet completion. However, when Minuet operates as an LSP server, it is
223-
impossible to determine whether completion is triggered automatically or
224-
manually.
221+
2. With `blink-cmp` and `nvim-cmp` native sources, it's possible to configure
222+
Minuet for manual completion only, disabling automatic completion. However,
223+
when Minuet operates as an LSP server, it is impossible to determine whether
224+
completion is triggered automatically or manually.
225+
226+
> [!NOTE]
227+
> The LSP protocol specification defines three `triggerKind` values: `Invoked`,
228+
> `TriggerCharacter`, and `TriggerForIncompleteCompletions`. However, none of
229+
> these specifically differentiates between manual and automatic completion
230+
> requests.
225231
226232
```lua
227233
require('minuet').setup {

0 commit comments

Comments
 (0)