diff --git a/README.md b/README.md index 1689e1e..cc74610 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,10 @@ lua <'] = cmp.mapping.confirm({ select = true }), + }, + sources = { + { name = '...' }, + ... } }) EOF @@ -123,6 +127,9 @@ lua <) Built in helper `cmd.mappings` are: @@ -212,7 +219,7 @@ source README which defines the source name as `buffer`. Which events should trigger `autocompletion`. -If you set this to empty or `false`, `nvim-cmp` will not perform completion +If you set this to `false`, `nvim-cmp` will not perform completion automatically. You can still use manual completion though (like omni-completion via the `cmp.mapping.complete` function).