brenoprata10 / nvim-highlight-colors

Highlight colors for neovim
696 stars 32 forks source link

Fix protection of accidental blob strings getting mached #75

Closed mehalter closed 6 months ago

mehalter commented 6 months ago

I accidentally opened a PDF file in my neovim session and got flooded with a ton of errors. This seems to be an issue with trying to match a string that's actually a binary blob. I added a couple checks to safely ignore these types of errors without causing issues.

brenoprata10 commented 6 months ago

Hey o/ Thanks for your contribution.