FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
librime-lua-script/lua/conjunctive/init.lua at main · shewer/librime-lua-script · GitHub
shewer
librime-lua-script
Repository navigation
Code
Issues
4
(4)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
librime-lua-script
/
lua
/
conjunctive
/
init.lua
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (18 loc) · 449 Bytes
Breadcrumbs
librime-lua-script
/
lua
/
conjunctive
/
init.lua
Copy path
File metadata and controls
20 lines (18 loc) · 449 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!
/usr/bin/env lua
--
--
init.lua
--
Copyright (C) 2022 Shewer Lu <shewer@gmail.com>
--
--
Distributed under terms of the MIT license.
--
require
'
tools/_file
'
local
path
,
file
=
rpath
()
local
tab
=
{}
for
i
,
spath
in
next
, {
'
proc
'
,
'
segm
'
,
'
tran
'
,
'
filter
'
}
do
tab
.
_module
=
tab
.
_module
or
true
local
fpath
=
(
"
%s.%s
"
):
format
(
path
,
spath
)
local
ok
,
m
=
pcall
(
require
,
fpath
)
tab
[
spath
]
=
ok
and
m
or
nil
end
return
tab
--
return {"proc",'filter',}
Back
|
FazBrowse Home
|
New Git URL