Closed roxma closed 6 years ago
As per https://github.com/roxma/nvim-completion-manager/issues/123#issuecomment-324838171
// cc @katsika
This is still open for discussion. It may or may not get implemented.
Here's my rough sketch:
Add an integer option custom_match, 0 by default. If it's set to 1, NCM won't filter, and sort the candidates of this source.
custom_match
The source could use NCM's built-in maching on its own, via from cm_matchers.{module} import Matcher. Or it could use any other algorithms.
from cm_matchers.{module} import Matcher
source custom matcher is implemented in ncm2.
As per https://github.com/roxma/nvim-completion-manager/issues/123#issuecomment-324838171
// cc @katsika
This is still open for discussion. It may or may not get implemented.
Here's my rough sketch:
Add an integer option
custom_match
, 0 by default. If it's set to 1, NCM won't filter, and sort the candidates of this source.The source could use NCM's built-in maching on its own, via
from cm_matchers.{module} import Matcher
. Or it could use any other algorithms.