Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#13117 - Add PKGBUILD to nano's .sh syntax highlighting
Attached to Project:
Arch Linux
Opened by Nicolas Bigaouette (big_gie) - Wednesday, 04 February 2009, 02:06 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 04 February 2009, 07:59 GMT
Opened by Nicolas Bigaouette (big_gie) - Wednesday, 04 February 2009, 02:06 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 04 February 2009, 07:59 GMT
|
DetailsDescription:
By default, nano do not show syntax highlighting. It can be enable in /etc/nanorc But even enable the "Bourne shell scripts" at the end of the config file, PKGBUILDs are not highlighted. It would be only a matter of changing, in /usr/share/nano/sh.nanorc, this line: syntax "sh" "\.sh$" to this one: syntax "sh" "\.sh$" "PKGBUILD" Could this be enabled by default? |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 04 February 2009, 07:59 GMT
Reason for closing: Won't implement
Wednesday, 04 February 2009, 07:59 GMT
Reason for closing: Won't implement
FS#8004But then if I enable syntax highlighting I want to, well, highlight syntax, including PKGBUILD.
FS#8004was about changing the highlighting style specifically for PKGBUILD. What I ask here is to simply highlight PKGBUILD the same as any other shell script.If I enable shell script highlighting in nanorc, I would like to see PKGBUILD, which are shell script, to be highlighted. It is only a matter of matching the filename...