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

Correct syntax highlighting for \import command #3098

Closed
user202729 opened this issue Feb 15, 2025 · 1 comment
Closed

Correct syntax highlighting for \import command #3098

user202729 opened this issue Feb 15, 2025 · 1 comment

Comments

@user202729
Copy link

Is your feature request related to a problem? Please describe it.
Currently, \input{a_b.tex} highlights the a_b.tex in light blue color. However, \import{directory}{a_b.tex} will highlight the _ as an error.

The \import command is provided by \usepackage{import}.

Describe the solution you'd like
The _ is not highlighted as an error, because it is part of a file path.

Similarly for \subimport.

Additional context

See package description: http://www.ctan.org/pkg/import

lervag added a commit that referenced this issue Feb 19, 2025
@lervag
Copy link
Owner

lervag commented Feb 19, 2025

I think this should work as expected now.

@lervag lervag closed this as completed Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants