bugGNU nano - Bugs: bug #38563, syntax highlighting example for...

 
 

bug #38563: syntax highlighting example for yaml files

Submitted by:  Greg Swift <xaeth>
Submitted on:  Thu 21 Mar 2013 02:16:29 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

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 Member
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:

https://github.com/craigbarnes/nanorc/blob/master/yaml.nanorc

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

https://bitbucket.org/craigbarnes/dotfiles/src/a3ac3c8e73b7/nano/yaml.nanorc

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):
   
   
Comment:
   

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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    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-cleanup