bugGNU nano - Bugs: bug #38563, [Request] syntax highlighting...


bug #38563: [Request] syntax highlighting example for yaml files

Submitted by:  Greg Swift <xaeth>
Submitted on:  Thu 21 Mar 2013 02:16:29 PM UTC  
Severity: 1 - WishStatus: Invalid
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 14 Jun 2014 07:34:19 PM UTC, comment #3:

If you have uncoded and directly usable syntax-colouring example files, please post them to the mailing list or the patches section. Closing this due to no response.

Benno Schulenberg <bens>
Project Administrator
Wed 26 Mar 2014 01:45:51 PM UTC, comment #2:

Hi Craig,

If you'd like your nanorc files to be included in nano, please post your favourite ones to nano-devel [1] and see what others got to say.

[1] https://lists.gnu.org/mailman/listinfo/nano-devel

Benno Schulenberg <bens>
Project Administrator
Sun 24 Mar 2013 02:37:45 PM UTC, comment #1:

That's quite an old version of that file. A newer one is at:


You can run 'make build' in that project directory to pre-process the non-standard syntax. As far as I know, this is the most comprehensive collection of nano syntax definitions. I would like to suggest they be included in upstream nano but I'm not sure what the chances of that are.

Craig Barnes <craigbarnes>
Thu 21 Mar 2013 02:16:29 PM UTC, original submission:

I really appreciate all the syntax files that are provided but as I recently started using ansible i found the lack of a yaml syntax handler something that needed to be added. I found


I adjusted the colors and some of the syntax. New file attached.

Greg Swift <xaeth>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #27646:  yaml.nanorc added by xaeth (990B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bens (Posted a comment)
  • -unavailable- added by craigbarnes (Posted a comment)
  • -unavailable- added by xaeth (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 Jun 2014 07:34:19 PM UTCbensSeverity3 - Normal=>1 - Wish
      Summarysyntax highlighting example for yaml files=>[Request] syntax highlighting example for yaml files
    Wed 26 Mar 2014 01:45:51 PM UTCbensSummarypossible syntax example for yaml files=>syntax highlighting example for yaml files
    Thu 21 Mar 2013 02:16:29 PM UTCxaethAttached File-=>Added yaml.nanorc, #27646

    Back to the top

    Powered by Savane 3.1-cleanup1