Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75553 - [micro] 2.0.11-3 breaks language mode detection and syntax highlighting

Attached to Project: Community Packages
Opened by Jeremy Payne (moddedBear) - Monday, 08 August 2022, 23:39 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 09 August 2022, 14:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After upgrading from 2.0.10-4 to 2.0.11-3, all files opened in micro show up as "unknown" language type in the status bar which means syntax highlighting doesn't work. I've tested with a variety of file types and all show the same behavior. Downgrading back to 2.0.10-4 restores language detection and syntax highlighting.

I believe this is a packaging bug since this bug isn't present after building micro 2.0.11 myself by following the steps on the project's readme. My build of micro and Arch's both show the same commit hash when running "micro -version" (225927b9).

Additional info:
* package version(s): 2.0.11-3 (I know 2.0.11-2 was also affected)

Steps to reproduce:
Open a file with micro. The bottom status bar contains "ft:unknown" when it should say something like "ft:json" or "ft:php" depending on the language of the open file.
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 09 August 2022, 14:41 GMT
Reason for closing:  Fixed
Comment by Mark Wagie (yochananmarqos) - Tuesday, 09 August 2022, 00:33 GMT
Related upstream issue: https://github.com/zyedidia/micro/issues/2521

@Jeremy: I'm guessing that might have been you?
Comment by Jeremy Payne (moddedBear) - Tuesday, 09 August 2022, 00:52 GMT
@Mark: That wasn't me, but it's interesting to note that someone else has the issue too and that they're also on Arch.
Comment by Toolybird (Toolybird) - Tuesday, 09 August 2022, 02:57 GMT
Dupe  FS#75555 
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 09 August 2022, 14:12 GMT
Thanks for reporting, I'll look into it.

Loading...