Add ignores

Sun, 06 Sep 2020 21:24:39 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 06 Sep 2020 21:24:39 +0300
changeset 34
4c7122a505d4
parent 33
55d738116fac
child 35
2f927eae429b

Add ignores

handlers.lua file | annotate | diff | comparison | revisions
--- a/handlers.lua	Sun Jul 19 11:17:28 2020 -0500
+++ b/handlers.lua	Sun Sep 06 21:24:39 2020 +0300
@@ -8,10 +8,11 @@
 handlers.ignore=require("handlers.ignore")
 
 local available={
+    { pattern = "%.note$", handler = handlers.ignore},
+    { pattern = "^%.", handler = handlers.ignore},
+    { pattern = "/%.", handler = handlers.ignore},
     { pattern = "%.lg$", handler = handlers.render},
     { pattern = "%.md$", handler = handlers.render},
-    { pattern = "%.note$", handler = handlers.ignore},
-    { pattern = "%.hg/", handler = handlers.ignore},
     { pattern = "",      handler = handlers.copy},
 }
 

mercurial