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

[LaTeX] Refactor LaTeX log file syntax #4136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deathaxe
Copy link
Collaborator

This PR refactors logfile syntax based on real world latex log files.

  1. It adds block and group contexts to enable syntax based folding.
  2. Adjusts various other scopes

Note:

Logfiles are wrapped at 80chars, which can't be handled by ST's syntax engine, possibly causing smaller highlighting issues. Nevertheless it now looks way better than before.

This commit refactors logfile syntax based on real world latex log files.

1. It adds block and group contexts to enable syntax based folding.
2. Adjusts various other scopes

Note: Logfiles are wrapped at 80chars, which can't be handled by ST's
      syntax engine, possibly causing smaller highlighting issues.
      Nevertheless it now looks way better than before.
@deathaxe deathaxe force-pushed the pr/latex/latex-log-syntax branch from 05cc6d5 to cb3e58c Compare January 12, 2025 17:34
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.

1 participant