From: Nidish N. B. <nid...@il...> - 2024-05-18 10:43:19
|
Okay I've fixed the font-lock issue. Since I adapted the code from a pre-existing package that was meant to be stand-alone, it had some checks in place that were overriding the existing font-lock. I got rid of these and simplified it since we want this to be distributed as part of matlab-mode.el . I've verified that the syntax highlighting now works identical to the master branch. Best, Nidish On 5/16/24 11:09, Nidish Narayanaa Balaji wrote: >> I have heard about this package but I have never used it myself. > I highly recommend checking it out! I use tree-sitter-hl for > highlighting, and ts-fold for code folding. >>> I have a feeling that something got mixed up when I refreshed the >>> matlab-load.el - I'd recommend retrying by using the matlab-load.el >>> from master to see if that's the issue. I'll also look into this >>> today. >> Right. The strange thing is. >> >> 1. The graph is linear >> >> 2. Git does not complain when switching branches. >> >> 3. But when I use mercurial (and the hg-git plugin) mercurial >> notices a conflict! >> >> 4. So I did what you proposed, but it does not help: one your branch >> the traditional font-locking is broken. Good that we are testing >> >> Uwe > > Strange indeed. Fair enough, I'm happy we're still testing. I'll have > more time this evening to do a deep dive (git bisect should help, I > guess). I'll let you know if I manage to catch it. > > Best, > Nidish > > > > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |