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

not showing popup for certain trigger_word #348

Open
ssh352 opened this issue Jan 22, 2024 · 1 comment
Open

not showing popup for certain trigger_word #348

ssh352 opened this issue Jan 22, 2024 · 1 comment

Comments

@ssh352
Copy link

ssh352 commented Jan 22, 2024

I made two identical snippets with different trigger words:

#' can't trigger popup
#' a can

could you please advise? Thanks! I run the latest release coc and latest cog-snippet.

Screenshot 2024-01-22 at 11 03 39 PM Screenshot 2024-01-22 at 11 03 10 PM Screenshot 2024-01-22 at 11 02 54 PM
@xi-lef
Copy link

xi-lef commented Jan 27, 2024

Only typing symbols doesn't trigger CoC's auto-completion by default. You need to use snippets.triggerCharacters.
Do :CocConfig and add e.g. "snippets.triggerCharacters": ["'"], so the auto-completion triggers after you type '.

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

No branches or pull requests

2 participants