Add preselect configuration option

This commit is contained in:
hrsh7th
2021-08-25 21:23:54 +09:00
parent 5df8233081
commit 6bc0ddb58b
6 changed files with 22 additions and 7 deletions

View File

@@ -283,6 +283,17 @@ Default:
}
```
#### preselect (type: cmp.PreselectMode)
Specify preselect mode. The following modes are available.
- cmp.Preselect.Item
- If the item has `preselect = true`, nvim-cmp will preselect it.
- cmp.Preselect.None
- Disable preselect feature.
Default: `cmp.PreselectMode.Item`
FAQ
====================