patchGNU nano - Patches: patch #7434, Lua syntax file


You are not allowed to post comments on this tracker with your current authentication level.

patch #7434: Lua syntax file

Submitted by:  Matthew Wild <mattj100>
Submitted on:  Fri 07 Jan 2011 10:43:34 AM UTC  
Priority: 5 - NormalStatus: Done
Privacy: PublicAssigned to: Chris Allegretta <astyanax>
Open/Closed: ClosedRelease: None

Mon 09 May 2011 02:20:58 AM UTC, comment #5:

Thank you very much!

I don't mind too much about removing the .+ rule, I think it's the right thing to do. I don't even remember putting it there. All I know is that everything looks "wrong" if I remove it now, as I'm used to full-time coding with it in place :)

This doesn't matter as I have a tweaked syntax file anyway to highlight some custom stuff, I'm mainly glad to get this out so others can easily find and use it (I do bump into fellow Lua-coding nano-lovers occasionally, believe it or not...).


Matthew Wild <mattj100>
Sun 08 May 2011 04:37:30 AM UTC, comment #4:

Thanks again for the extra upload with the new license terms Matthew. This was committed in r4543 and should be in nano 2.3.1. I did have to axe the .* highlight line, because I think we should not make assumptions about terminal brightness or configuration for default text. I hope you won't find that change too irritating.

Have an excellent weekend.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Wed 04 May 2011 01:03:45 PM UTC, comment #3:

Sorry, I've been away/rather busy recently, I'll make sure to get to this tonight. Thanks!

Matthew Wild <mattj100>
Tue 03 May 2011 02:21:04 AM UTC, comment #2:

Matthew, any chance you'd be willing to reupload with a GPL3+ license for this file?

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Sun 03 Apr 2011 10:07:58 PM UTC, comment #1:

Hi Matthew,

Thank you very much for the contribution!

One minor thing; nano is now licensed GPL 3+ rather than 2+, but the header comments for the file say 2+. Rather than get into some odd legal area w.r.t. licensing, would you be willing to resubmit this patch saying GPL 3 or later instead in the comments?

Thanks much.

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Fri 07 Jan 2011 10:43:34 AM UTC, original submission:


Attached is a syntax highligter for *.lua files. I've been using it myself daily for a couple of years now, and after a few final fixes yesterday I think it's up to scratch for inclusion.

For the record the file is also tracked in a Mercurial repository at


Matthew Wild <mattj100>


Attached Files
file #23354:  lua.nanorc added by mattj100 (3KiB - application/octet-stream - Updated to GPL 3 or later)
file #22368:  lua.nanorc added by mattj100 (3KiB - 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 (Updated the item)
  • -unavailable- added by astyanax (Posted a comment)
  • -unavailable- added by mattj100 (Submitted the item)
  • -unavailable- added by mattj100

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 14 Feb 2014 01:00:17 PM UTCbensOpen/ClosedOpen=>Closed
    Sun 08 May 2011 04:37:30 AM UTCastyanaxStatusIn Progress=>Done
    Thu 05 May 2011 01:16:13 PM UTCmattj100Attached File-=>Added lua.nanorc, #23354
    Sun 03 Apr 2011 10:07:58 PM UTCastyanaxStatusNone=>In Progress
      Assigned toNone=>astyanax
    Fri 07 Jan 2011 10:43:34 AM UTCmattj100Attached File-=>Added lua.nanorc, #22368
      Carbon-Copy-=>Added mattj100

    Back to the top

    Powered by Savane 3.1-cleanup1