-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zide.lua
More file actions
40 lines (39 loc) · 780 Bytes
/
Copy path.zide.lua
File metadata and controls
40 lines (39 loc) · 780 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
37
38
39
40
---@diagnostic disable: undefined-global
local mod
do
local ok, loaded = pcall(require, "zide-meta")
if ok and type(loaded) == "table" then
mod = loaded
end
end
---@type ZideModule
local zide
if mod then
zide = mod
else
zide = { config = function(opts) return opts end }
end
---@type ZideConfig
return zide.config({
log = {
enable = {
"app.core",
"terminal.core",
"terminal.ui.lifecycle",
"terminal.ui.redraw",
"terminal.session.runtime.pty",
},
},
logs = {
file_level = "info",
console_level = "info",
file_levels = {
["terminal.ui.lifecycle"] = "debug",
["terminal.ui.redraw"] = "debug",
["terminal.session.runtime.pty"] = "debug",
},
},
sdl = {
log_level = "warning",
},
})