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

Higher tolerance for splitting tag line #895

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

roccomao
Copy link
Contributor

@roccomao roccomao commented Nov 9, 2024

This is a very small patch, use ;"\t to split tags line instead of ;". Using ;" to split tags line will cause tagbar to ignore those tags which ;" in the current line. It is indeed possible to have ;" in a line of a file, such as a string ";", or a similar string ending with ; such as html entity (like ";"), or included in the end-of-line comments, etc. But the probability of ;"\t appearing in a code file is much smaller. In addition, the patch fix a typo that was seen.

@raven42
Copy link
Collaborator

raven42 commented Nov 11, 2024

Looks good. Thanks for the contribution!

@raven42 raven42 merged commit 1d22809 into preservim:master Nov 11, 2024
5 checks passed
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.

2 participants