Support multiple filetypes

Fix #786
This commit is contained in:
hrsh7th
2022-02-12 21:05:17 +09:00
parent 20152c6afd
commit 7e473b99d3
2 changed files with 8 additions and 6 deletions

View File

@@ -603,7 +603,7 @@ How to setup on the specific buffer?~
You can setup buffer specific configuration like this.
>
cmp.setup.filetype('markdown', {
cmp.setup.filetype({ 'markdown', 'help' }, {
sources = {
{ name = 'path' },
{ name = 'buffer' },