forked from asmagill/hammerspoon_asm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua_template
24 lines (17 loc) · 793 Bytes
/
init.lua_template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- === hs._asm.module ===
---
--- Stuff about the module
local USERDATA_TAG = "hs._asm.module"
local module = require(USERDATA_TAG..".internal")
local basePath = package.searchpath(USERDATA_TAG, package.path)
if basePath then
basePath = basePath:match("^(.+)/init.lua$")
if require"hs.fs".attributes(basePath .. "/docs.json") then
require"hs.doc".registerJSONFile(basePath .. "/docs.json")
end
end
-- local log = require("hs.logger").new(USERDATA_TAG, require"hs.settings".get(USERDATA_TAG .. ".logLevel") or "warning")
-- private variables and methods -----------------------------------------
-- Public interface ------------------------------------------------------
-- Return Module Object --------------------------------------------------
return module