setup/windows-installer/swc-windows-installer.sh: Install nano source syntax highlighters
authorW. Trevor King <wking@tremily.us>
Wed, 5 Mar 2014 17:47:24 +0000 (09:47 -0800)
committerW. Trevor King <wking@tremily.us>
Wed, 5 Mar 2014 17:47:24 +0000 (09:47 -0800)
Make writing Python source code (and a number of other languages) a
bit more exciting for the eyes and easier on the brain by coloring
strings, comments, and such.

We need to install the source tarball because the compiled zip doesn't
include the syntax highlighting scripts.  To make that easier, I've
extracted out the download / hash-check functionality into a new
download(), which I use in both the old zip_install() and the new
tar_install().  If the user doesn't have an existing ~/.nanorc, we
populate it by adding 'include' options for each of the syntax files
in the Nano tarball.  If they do have an existing ~/.nanorc, I assume
they know what they're doing ;).

setup

diff --git a/setup b/setup
index 0e9ca60a6f2ac30952a7837d849d968e60fb3f1b..cb66f9d2bab1bf9e55bd19347ed80a5399fcb077 160000 (submodule)
--- a/setup
+++ b/setup
@@ -1 +1 @@
-Subproject commit 0e9ca60a6f2ac30952a7837d849d968e60fb3f1b
+Subproject commit cb66f9d2bab1bf9e55bd19347ed80a5399fcb077