On Fri, 31 Jan 2020 11:14:34 +0300 Vladimir K <pzs...@yandex.ru> wrote: > Package: mc > Version: 3:4.8.24-2 > Severity: normal > Tags: upstream > > Dear Maintainer, in the newest version of mcedit syntax highlight for YAML > inline block highlight is started after '>' or '|' directives, but does not end > until EOF. > > Instead it should end after encountering any of: > - an empty line > - a line with the same indent as the key of current value > - a line with less indent than the first line of inline block > > > -- System Information: > Debian Release: bullseye/sid > APT prefers testing > APT policy: (900, 'testing'), (400, 'unstable'), (300, 'experimental') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 5.4.0-3-amd64 (SMP w/4 CPU cores) > Kernel taint flags: TAINT_USER > Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages mc depends on: > ii libc6 2.29-9 > ii libext2fs2 1.45.5-2 > ii libglib2.0-0 2.62.4-1+b1 > ii libgpm2 1.20.7-5+b1 > ii libslang2 2.3.2-4 > ii libssh2-1 1.8.0-2.1 > ii mc-data 3:4.8.24-2 > > Versions of packages mc recommends: > ii mime-support 3.64 > ii perl 5.30.0-9 > ii unzip 6.0-25 > > Versions of packages mc suggests: > ii arj 3.10.22-23 > ii bzip2 1.0.8-2 > pn dbview <none> > pn djvulibre-bin <none> > pn epub-utils <none> > ii evince [pdf-viewer] 3.34.1-1+b1 > ii file 1:5.38-4 > ii genisoimage 9:1.1.11-3.1 > pn gv <none> > ii imagemagick 8:6.9.10.23+dfsg-2.1+b2 > ii imagemagick-6.q16 [imagemagick] 8:6.9.10.23+dfsg-2.1+b2 > pn libaspell-dev <none> > ii lynx 2.9.0dev.4-1 > ii mupdf [pdf-viewer] 1.15.0+ds1-1+b1 > pn odt2txt <none> > ii poppler-utils 0.71.0-6 > ii python 2.7.17-2
Hello. I am trying to fix yaml syntax highliting for multiline blocks. There is the process: https://github.com/kran0/mc/blob/improve-mcedit-yaml.syntax/misc/syntax/yaml.syntax Please, test this variant and write what you think about it. To test it, just place yaml.syntax to ~/.local/share/mc/mcedit/yaml.syntax Thanks a lot. PS. My PR is: https://github.com/MidnightCommander/mc/pull/170 And i have commented the bug entry: https://midnight-commander.org/ticket/4059