From cdd1b58b386da575f3c73ab94ae72e5e66be797b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 23 May 2009 00:09:14 -0400 Subject: remove commas in tohighlight list --- IkiWiki/Plugin/highlight.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IkiWiki') 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); -- cgit v1.2.3