On Monday, March 31, 2025 at 8:17:04 PM UTC-5 Edward K. Ream wrote: It seems that PR #4320 <https://github.com/leo-editor/leo-editor/pull/4320> does not always compute the proper language to use for syntax coloring.
It appears that I was mistaken. I have created and then closed #4323 <https://github.com/leo-editor/leo-editor/issues/4323>. As discussed in the issue, it looks like I found an strange edge case: the colorizer kinda did as instructed. However, there may be a real bug lurking nearby. It seems that an @file node that *doesn't *contain an @language directive should use the file's type to compute a default @language directive for that node. The workaround for this edge case is to add the missing @language directive! I plan to open a new issue after I investigate a bit. I doubt that recent PRs are culpable, but I can't say for sure yet. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/leo-editor/8e5fe0e1-a5cc-4c3b-af6f-82baed626e25n%40googlegroups.com.
