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

cmp completion: allow more patterns #340

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

emmanueltouzery
Copy link
Contributor

Relax the patterns that may trigger a cmp completion. \w was [a-zA-Z0-9_]. This didn't allow for "-" for instance. \S is everything but whitespace characters.

In my case I had strings containing - and the completion wouldn't work when I'd reach the - character.

Relax the patterns that may trigger a cmp completion.
\w was [a-zA-Z0-9_]. This didn't allow for "-" for instance. \S is
everything but whitespace characters.
@github-actions github-actions bot requested a review from stevearc August 9, 2024 19:33
@stevearc
Copy link
Owner

LGTM thanks!

@stevearc stevearc merged commit 09d07e3 into stevearc:master Aug 19, 2024
9 checks passed
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