Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use filterText for filtering candidates if available.
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.
- Loading branch information