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

Use filterText for filtering candidates if available. #93

Merged
merged 1 commit into from
Mar 14, 2019

Conversation

tigersoldier
Copy link
Owner

Per spec filterText should be used for filtering when the server provides it.
If it's not provided, label should be used.

Some language server such as clangd adds some prefix to labels, such as empty
spaces. They don't work well with prefix-based filter since the additional prefix
will never match the completion prefix.

Should fix #92 and may also help #79.

Per spec filterText should be used for filtering when the server provides it.
If it's not provided, label should be used.

Some language server such as clangd adds some prefix to labels, such as empty
spaces. They don't work well with prefix-based filter since the additional prefix
will never match the completion prefix.

Should fix #92 and may also help #79.
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.

Completion can not work any more when update company-lsp
2 participants