Restore filetype setting

This commit is contained in:
hrsh7th
2022-08-20 19:21:22 +09:00
parent 1307917fff
commit 9417f48a99
3 changed files with 16 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ Function |cmp-function|
Mapping |cmp-mapping|
Command |cmp-command|
Highlight |cmp-highlight|
FileType |cmp-filetype|
Autocmd |cmp-autocmd|
Config |cmp-config|
Config Helper |cmp-config-helper|
@@ -312,6 +313,8 @@ There are also builtin mapping helper functions you can use:
Built-in mapping helpers are only available as a configuration option.
If you want to call nvim-cmp features directly, please use |cmp-function| instead.
==============================================================================
Command *cmp-command*
@@ -321,6 +324,8 @@ Command *cmp-command*
For example, `cmp-nvim-lsp` registers itself on InsertEnter autocommand
so the status will be shown as `unknown` when running the command.
==============================================================================
Highlight *cmp-highlight*
@@ -351,6 +356,15 @@ NOTE: `kind` is a symbol after each completion option.
*CmpItemMenu*
The menu field's highlight group.
==============================================================================
FileType *cmp-filetype*
*cmp_menu*
The completion menu buffer's filetype.
*cmp_docs*
The documentation window buffer's filetype.
==============================================================================
Autocmd *cmp-autocmd*