Is there an existing issue for this?
Midnight Commander version and build configuration
GNU Midnight Commander 4.8.30
Built with GLib 2.80.0
Built with S-Lang 2.3.3 with terminfo database
Built with libssh2 1.11.0
With builtin Editor and Aspell support
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types:
char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;
Operating system
Linux sknaumov-ThinkPad-T14-Gen-3 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Is this issue reproducible using the latest version of Midnight Commander?
How to reproduce
Just open attached TOML file in mcedit.
Expected behavior
I've prepared alternative toml.syntax file.
Exact colors are discussable, but I've tried to unify them with syntax files of similar formats.
Actual behavior
- Broken comments.
- Escapes in basic strings are neither highlighted nor properly handled.
- Literal strings are not highlighted.
- Multi-line strings are not properly handled.
- Inconsistent highlighting of inline tables.
- Sections are hardly distinguished from comments.
- Colors are not unified with other similar files (YAML, INI).
- Acid-like look when there are a lot of strings.
Additional context
Is there a chance that this fix will be available in Ubuntu 26.04?
Is there an existing issue for this?
Midnight Commander version and build configuration
Operating system
Linux sknaumov-ThinkPad-T14-Gen-3 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64 x86_64 x86_64 GNU/LinuxIs this issue reproducible using the latest version of Midnight Commander?
How to reproduce
Just open attached TOML file in mcedit.
Expected behavior
I've prepared alternative toml.syntax file.
Exact colors are discussable, but I've tried to unify them with syntax files of similar formats.
Actual behavior
Additional context
Is there a chance that this fix will be available in Ubuntu 26.04?