Skip to content

refactor: use plenary.filetype for file type detection#1046

Merged
deathbeam merged 1 commit into
CopilotC-Nvim:mainfrom
deathbeam:ft-res
Mar 22, 2025
Merged

refactor: use plenary.filetype for file type detection#1046
deathbeam merged 1 commit into
CopilotC-Nvim:mainfrom
deathbeam:ft-res

Conversation

@deathbeam
Copy link
Copy Markdown
Collaborator

Replace manual binary extension filtering with proper filetype detection using plenary.filetype library. This improves file type identification and eliminates the need to maintain a large list of binary extensions.

The change simplifies the codebase while providing more accurate results when determining which files to include in scanning operations.

Replace manual binary extension filtering with proper filetype detection
using plenary.filetype library. This improves file type identification
and eliminates the need to maintain a large list of binary extensions.

The change simplifies the codebase while providing more accurate
results when determining which files to include in scanning operations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant