Bug#982091: Please include some yaml.nanorc

2021-09-30 Thread Benno Schulenberg
Sorry, that was my Yaml test file (all the Yaml fragments from the Wikipedia article). Correct file is attached now. Benno ## Syntax highlighting for YAML files. ## Original author: Benno Schulenberg ## License: GPL version 3 or newer (Adjusted to work on older nanos -- V2.) syntax "y

Bug#982091: Please include some yaml.nanorc

2021-09-30 Thread Benno Schulenberg
Thanks for the feedback. Meanwhile I have seen that the value in a "key: value" pair can quite often contain an unspaced colon (URLs, IPv6 addresses, ...), which then gets colored with a red background. That was not the intention, so I have removed that regex fragment. (When there is no space a

Bug#982091: Please include some yaml.nanorc

2021-09-27 Thread Benno Schulenberg
Op 27-09-2021 om 02:22 schreef Otto Kekäläinen: > I tested this today, but unfortunately the yaml.nanorc seems to have > syntax errors: > > Error in /usr/share/nano/yaml.nanorc on line 6: A syntax name must be quoted The syntax file is from git, so it is meant for a modern nano (5.0 or later).

Bug#982091: Please include some yaml.nanorc

2021-09-26 Thread Otto Kekäläinen
Hello! I tested this today, but unfortunately the yaml.nanorc seems to have syntax errors: ``` Error in /usr/share/nano/yaml.nanorc on line 6: A syntax name must be quoted Error in /usr/share/nano/yaml.nanorc on line 7: A 'header' command requires a preceding 'syntax' command Error in /usr/share/

Bug#982091: Please include some yaml.nanorc

2021-09-25 Thread Benno Schulenberg
Op 08-02-2021 om 16:46 schreef Benno Schulenberg: > But it's unclear what license covers the file -- the site says nothing > about the yaml.nanorc. I mailed the author but did not get a response. So this morning I constructed my own yaml.nanorc file -- see attached. What I'm quite pleased with