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

No highlighting on some xsl files #15

Open
jjrsylvestre opened this issue Nov 18, 2024 · 2 comments
Open

No highlighting on some xsl files #15

jjrsylvestre opened this issue Nov 18, 2024 · 2 comments

Comments

@jjrsylvestre
Copy link

I'm using Zed 0.161.2 on Archlinux.

When opening a few of the xsl files in this project:
https://github.com/PreTeXtBook/pretext/tree/master/xsl
I get no syntax highlighting.

Most of the xsl files in the linked directory above open fine with syntax highlighted, but
pretext-common.xsl
pretext-html.xsl
pretext-latex.xsl
open with no highlighting.

Screenshot:
xml

@sweetppro
Copy link
Owner

interesting,
if I take out the <xsl:stylesheet> node, highlighting works

@jjrsylvestre
Copy link
Author

If I take out the <xsl:stylesheet> node, the document gets only partially highlighted.

Screenshot of pretext-html.xsl with <xsl:stylesheet> node removed:

Image

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

No branches or pull requests

2 participants