diff --git a/doc/cmp.txt b/doc/cmp.txt index 2c587a5..e430190 100644 --- a/doc/cmp.txt +++ b/doc/cmp.txt @@ -783,7 +783,7 @@ Here is an example on how to create a custom source: end ---Register your source to nvim-cmp. - require('cmp').register_source('month', source.new()) + require('cmp').register_source('month', source) < ============================================================================== FAQ *cmp-faq*