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

feat: drop source groups in favor of fallback_for #83

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

Saghen
Copy link
Owner

@Saghen Saghen commented Oct 11, 2024

The concept of sources groups was copied from nvim-cmp, but in reality, we want to set sources that act as fallbacks for other sources. In the default config, this would be the buffer source acting as a fallback for the LSP source. This avoids the buffer source from never running when using global snippets that always show

Closes #59

@Saghen Saghen self-assigned this Oct 11, 2024
@Saghen Saghen force-pushed the feat/fallback-sources branch 3 times, most recently from 6035b18 to 595148d Compare October 11, 2024 15:02
@Saghen Saghen force-pushed the feat/fallback-sources branch from 595148d to 5d0bca3 Compare October 11, 2024 15:03
@Saghen Saghen merged commit 1f0c0f3 into main Oct 11, 2024
@Saghen Saghen deleted the feat/fallback-sources branch October 11, 2024 20:14
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.

Buffer completion not working... Why?
1 participant