mirror of
https://github.com/hrsh7th/cmp-buffer
synced 2025-04-08 10:32:58 +00:00
clarify usage of configuration in general
This commit is contained in:
parent
bc87de0ff6
commit
a0fe52489f
15
README.md
15
README.md
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user