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:
SebastienWae
2021-10-22 11:30:09 +02:00
committed by GitHub
parent 0d4275e62d
commit d26148f417

View File

@@ -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).