Skip to content

Commit 9b7fff1

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

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,15 @@ 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+
The LSP protocol specification defines three `triggerKind` values:
227+
`Invoked`, `TriggerCharacter`, and `TriggerForIncompleteCompletions`.
228+
However, none of these specifically differentiates between manual and
229+
automatic completion requests.
225230

226231
```lua
227232
require('minuet').setup {

0 commit comments

Comments
 (0)