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: support glob pattern for disabled_filetypes #80

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

heywhy
Copy link
Contributor

@heywhy heywhy commented Mar 15, 2024

Specifying buffer types (to disable hardtime for) individually can be tedious, especially for buffers that share a common prefix like Neogit, so I've included a small glob-like support that allows users to specify Neogit* and it matches all Neogit buffers.

@heywhy
Copy link
Contributor Author

heywhy commented Apr 15, 2024

@m4xshen please, take a look at this.

@m4xshen
Copy link
Owner

m4xshen commented Apr 16, 2024

@heywhy Sorry I've been busy recently. I'll review this today asap!

@m4xshen
Copy link
Owner

m4xshen commented Apr 16, 2024

@heywhy I just rewrote the matching logic and removed the redundant part. It should work same as before. If this looks good to you I'll merge it!

@m4xshen m4xshen added the enhancement New feature or request label Apr 16, 2024
@heywhy
Copy link
Contributor Author

heywhy commented Apr 17, 2024

LGTM! I apologize for my cranky implementation, I have little to no knowledge of Lua. 😄

@m4xshen m4xshen merged commit ef90503 into m4xshen:main Apr 17, 2024
1 check passed
@m4xshen
Copy link
Owner

m4xshen commented Apr 17, 2024

Great, thanks for your contribution ❤️

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.

None yet

2 participants