Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489254 - app-editors/nano - Please add syntax highlighting support for runscripts
Summary: app-editors/nano - Please add syntax highlighting support for runscripts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL: https://lists.gnu.org/archive/html/na...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-10-24 12:37 UTC by Thomas Deutschmann
Modified: 2015-03-23 07:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann gentoo-dev Security 2013-10-24 12:37:16 UTC
Hi,

please add syntax highlighting support for runscripts. Should be easy to do that: Just update the existing "files/nano-2.3.1-shell-nanorc.patch" like

-header "^#!.*/(ba|k|pdk)?sh[-0-9_]*"
+header "^#!.*/((ba|k|pdk)?sh[-0-9_]*|runscript)"

Please also consider adding epatch_user support to the ebuild. This would allow users to add/modify other syntax highlighting scripts for example, without the need of touching/forking the ebuild.

Thanks.


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2015-02-18 00:09:08 UTC
sent a patch upstream
Comment 2 SpanKY gentoo-dev 2015-03-23 07:14:33 UTC
nano-2.4.0 should do the right thing