-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
36 lines (36 loc) · 902 Bytes
/
Copy pathinit.lua
File metadata and controls
36 lines (36 loc) · 902 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
-- [nfnl] init.fnl
vim.loader.enable()
require("vim._core.ui2").enable({enable = true, msg = {targets = "msg", msg = {timeout = 1500}}})
local function _1_(_241, _242)
return math.floor((_241 / _242))
end
_G.quotient = _1_
local function prequire(mod)
local function _2_()
return require(mod)
end
local function _3_(_241)
print("Failed to require module", mod)
return print(_241)
end
return xpcall(_2_, _3_)
end
prequire("plugins.hook")
prequire("config.flatten")
prequire("plugins")
prequire("config.options")
prequire("config.ui")
prequire("config.file")
prequire("config.editing")
prequire("config.completion")
prequire("config.language")
prequire("config.term")
prequire("config.git")
prequire("config.events")
prequire("config.commands")
prequire("config.diagnostics")
prequire("config.keymaps")
local function _4_()
return require("environmental")
end
return pcall(_4_)