summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-05-23 00:09:14 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-05-23 00:09:14 -0400
commitcdd1b58b386da575f3c73ab94ae72e5e66be797b (patch)
tree5c5b21d58eef656797303103106be1a50436602b /IkiWiki/Plugin
parent21d6aded47d306fb44a60c1a8ad9331933cac855 (diff)
remove commas in tohighlight list
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/highlight.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/highlight.pm b/IkiWiki/Plugin/highlight.pm
index f43f18628..117ab5898 100644
--- a/IkiWiki/Plugin/highlight.pm
+++ b/IkiWiki/Plugin/highlight.pm
@@ -23,7 +23,7 @@ sub getsetup () {
},
tohighlight => {
type => "string",
- example => ".c, .h, .cpp, .pl, .py, Makefile:make",
+ example => ".c .h .cpp .pl .py Makefile:make",
description => "source files to syntax highlight",
safe => 1,
rebuild => 1,
@@ -32,7 +32,7 @@ sub getsetup () {
sub checkconfig () {
if (exists $config{tohighlight}) {
- foreach my $file (split /, /, $config{tohighlight}) {
+ foreach my $file (split ' ', $config{tohighlight}) {
my @opts = $file=~s/^\.// ?
(keepextension => 1) :
(noextension => 1);