Package Details: nano-syntax-highlighting-git 2022.11.02.r2.ga9c6844-1

Git Clone URL: https://aur.archlinux.org/nano-syntax-highlighting-git.git (read-only, click to copy)
Package Base: nano-syntax-highlighting-git
Description: Improved nano syntax highlighting files
Upstream URL: https://github.com/galenguyer/nano-syntax-highlighting
Licenses: GPL3
Conflicts: nano-syntax-highlighting
Provides: nano-syntax-highlighting
Submitter: American_Jesus
Maintainer: galenguyer
Last Packager: galenguyer
Votes: 124
Popularity: 1.42
First Submitted: 2011-10-10 16:17 (UTC)
Last Updated: 2023-05-31 16:46 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

cjmick commented on 2017-10-23 02:22 (UTC)

Please update, this is out of date

g360 commented on 2016-07-03 21:39 (UTC)

The end of the last line in the install file seems to have a typo, it should be ~/.nanorc

saildata commented on 2016-07-02 17:57 (UTC) (edited on 2016-07-02 18:09 (UTC) by saildata)

For nano, version 2.6.1, the .install file suggestion, `echo "include /usr/share/nano-syntax-highlighting/*.nanorc" >> nanorc"` may not be clear to new users when highlighting isn't enabled. Nano uses either the system-wide /etc/nanorc (see man nanorc) or the user-specific ~/.nanorc. So this would only work if the line was added to the system-wide /etc/nanorc. I would suggest changing the .install file to `echo "include /usr/share/nano-syntax-highlighting/*.nanorc" >> ~/.nanorc"` so that highlighting is enabled. NOTE: add the line to /etc/nanorc to enable for sudo commands as well

American_Jesus commented on 2016-03-03 23:16 (UTC)

added a simpler way to install $ echo "include /usr/share/nano-syntax-highlighting/*.nanorc" >> nanorc for those upgrading remove previous "include /usr/share/nano-syntax-highlighting/NAME.nanorc" or just add "include /usr/share/nano-syntax-highlighting/*.nanorc" to your nanorc

<deleted-account> commented on 2014-12-07 03:53 (UTC)

Note that the zsh nanorc file is now named 'zsh.nanorc' and not 'zshrc.nanorc'

<deleted-account> commented on 2014-06-12 20:06 (UTC)

Hello, got a small update to 88.e81bb08 with the main purpose of updating nanorc.sample to list all files to date + fix a name/desc of one or two and the license. srcpkg: https://www.dropbox.com/s/mqe3dv5ilgghghq/nano-syntax-highlighting-git-88.e81bb08-1.src.tar.gz diff: https://gist.github.com/raw/475aec1f2a6c1c007e3f http://dpaste.com/1N2CDG1 [MIRROR] http://bpaste.net/raw/366753/ [MIRROR]

Diego commented on 2013-06-14 21:45 (UTC)

new syntax PKGBUILD with automatic package version based on git commits ******************************************************************** _pkgname=nano-syntax-highlighting pkgname=$_pkgname-git pkgver=65.4fddd06 pkgrel=1 pkgdesc="Nano editor syntax highlighting enhancements" arch=('i686' 'x86_64') depends=('nano') makedepends=('git') url="https://github.com/scopatz/nanorc" license=('custom') install=nano-syntax-highlighting.install provides=('nano-syntax-highlighting') conflicts=('nano-syntax-highlighting') source=('git://github.com/scopatz/nanorc.git' 'nanorc.sample') md5sums=('SKIP' '6f51b44a0f5bcfb3184a5575c01cae99') pkgver() { cd $srcdir/nanorc echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { cd $srcdir mkdir -p $pkgdir/usr/share/$_pkgname find $srcdir/nanorc/ -name '*.nanorc' | xargs install -D -m644 -t $pkgdir/usr/share/$_pkgname/ install -D -m644 $srcdir/nanorc.sample $pkgdir/usr/share/$_pkgname/nanorc.sample }

American_Jesus commented on 2013-03-16 13:53 (UTC)

wasn't available, was added 4 mounts ago, i'll add in next version. Thanks for noticing