Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 489254

Summary: app-editors/nano - Please add syntax highlighting support for runscripts
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.gnu.org/archive/html/nano-devel/2015-02/msg00009.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Deutschmann (RETIRED) gentoo-dev 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