Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for cmp.config.compare helpers. #1537

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

netmute
Copy link

@netmute netmute commented Apr 24, 2023

This adds documentation for all currently defined compare functions. Provided by GPT-4.

This adds documentation for all currently defined compare functions. Provided by GPT-4.
TBD
*cmp.config.compare.offset*
cmp.config.compare.offset~
Sorts completion items based on their offset in the text buffer. Items closer to the cursor position will have higher priority.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The offset that closer to the cursor have lower priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants