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(config): add ignored filetypes option #108

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

scottmckendry
Copy link
Collaborator

Adds a new config option ignored_filetypes that can be used to turn off completions and keymaps for specific filetypes.
It extends the existing is_special_buffer() function(now renamed to is_ignored_buffer for clarity) to check whether the current buffer's filetype is in the table.

I'm not attached to the implementation. So I'm open to feedback on alternative approaches 🙂

Resolves #52

lua/blink/cmp/config.lua Outdated Show resolved Hide resolved
@Saghen Saghen merged commit b56a2b1 into Saghen:main Oct 15, 2024
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.

feature: disable trigger on type for certain filetypes
3 participants