clarify setup.buffer (#392)
Clarify the fact that setup.buffer overwrite the global sources. related to hrsh7th/nvim-cmp/issues#390
This commit is contained in:
@@ -196,7 +196,7 @@ the *sorting.priority_weight* options below.
|
|||||||
|
|
||||||
It is possible to setup different source lists for different filetypes, this is
|
It is possible to setup different source lists for different filetypes, this is
|
||||||
an example using the `FileType` autocommand to setup different sources for the
|
an example using the `FileType` autocommand to setup different sources for the
|
||||||
lua filetype.
|
lua filetype. This will overwrite your global sources for the buffer.
|
||||||
|
|
||||||
```viml
|
```viml
|
||||||
" Setup buffer configuration (nvim-lua source only enables in Lua filetype).
|
" Setup buffer configuration (nvim-lua source only enables in Lua filetype).
|
||||||
|
|||||||
Reference in New Issue
Block a user