-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
24 lines (22 loc) · 846 Bytes
/
init.lua
File metadata and controls
24 lines (22 loc) · 846 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
require("config")
_G.start_time = vim.uv.hrtime()
require("vim._core.ui2").enable({
enable = true,
msg = {
-- Options related to the message module.
---@type 'cmd'|'msg' Default message target, either in the
---cmdline or in a separate ephemeral message window.
---@type string|table<string, 'cmd'|'msg'|'pager'> Default message target
---or table mapping |ui-messages| kinds and triggers to a target.
targets = "cmd",
cmd = { -- Options related to messages in the cmdline window.
height = 0.5 }, -- Maximum height while expanded for messages beyond 'cmdheight'.
dialog = { -- Options related to dialog window.
height = 0.5 }, -- Maximum height.
msg = {
height = 0.5, -- Maximum height.
timeout = 4000, -- Time a message is visible in the message window.
},
pager = { height = 0.5 }, -- Maximum height.
},
})