Add cmp#ready autocmd
This commit is contained in:
@@ -392,6 +392,13 @@ Commands
|
|||||||
|
|
||||||
Show the source statuses
|
Show the source statuses
|
||||||
|
|
||||||
|
Autocmds
|
||||||
|
====================
|
||||||
|
|
||||||
|
#### `cmp#ready`
|
||||||
|
|
||||||
|
Invoke after nvim-cmp setup.
|
||||||
|
|
||||||
|
|
||||||
Programatic API
|
Programatic API
|
||||||
====================
|
====================
|
||||||
|
|||||||
@@ -30,3 +30,5 @@ end)
|
|||||||
|
|
||||||
vim.cmd [[command! CmpStatus lua require('cmp').status()]]
|
vim.cmd [[command! CmpStatus lua require('cmp').status()]]
|
||||||
|
|
||||||
|
vim.cmd [[doautocmd <nomodeline> User cmp#ready]]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user