handlers.lua

changeset 37
d63f9862304a
parent 34
4c7122a505d4
child 38
5c771653d5ac
equal deleted inserted replaced
36:6e3c3dd86b2f 37:d63f9862304a
6 handlers.render=require("handlers.render") 6 handlers.render=require("handlers.render")
7 handlers.copy=require("handlers.copy") 7 handlers.copy=require("handlers.copy")
8 handlers.ignore=require("handlers.ignore") 8 handlers.ignore=require("handlers.ignore")
9 9
10 local available={ 10 local available={
11 { pattern = "%.note$", handler = handlers.ignore}, 11 { pattern = "^_build", handler = handlers.ignore},
12 { pattern = "^%.", handler = handlers.ignore}, 12 { pattern = "^%.", handler = handlers.ignore},
13 { pattern = "/%.", handler = handlers.ignore}, 13 { pattern = "/%.", handler = handlers.ignore},
14 { pattern = "%.note$", handler = handlers.ignore},
15 { pattern = "%.code-workspace$", handler = handlers.ignore},
16 { pattern = "~$", handler = handlers.ignore},
14 { pattern = "%.lg$", handler = handlers.render}, 17 { pattern = "%.lg$", handler = handlers.render},
15 { pattern = "%.md$", handler = handlers.render}, 18 { pattern = "%.md$", handler = handlers.render},
16 { pattern = "", handler = handlers.copy}, 19 { pattern = "", handler = handlers.copy},
17 } 20 }
18 21

mercurial