Skip to content

Do not list or deprioritize magic-methods (e.g., __gt__) in completion list #1718

Answered by fitrh
goekce asked this question in Q&A
Discussion options

You must be logged in to vote

You can write what we call comparator, see lua/cmp/config/compare.lua for an example.

For your use case, I think you can use lukas-reineke/cmp-under-comparator.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by goekce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants