clarify usage of configuration in general

This commit is contained in:
Dmytro Meleshko 2021-12-08 01:36:47 +02:00
parent bc87de0ff6
commit a0fe52489f

View File

@ -14,7 +14,20 @@ require('cmp').setup({
## Configuration
The below source configuration are available.
The below source configuration are available. To set any of these options, do:
```lua
cmp.setup({
sources = {
{
name = 'buffer',
option = {
-- Options go into this table
},
},
},
})
```
### keyword_length (type: number)