update astroui and astrocore
This commit is contained in:
parent
e84abfb690
commit
72eb839467
9 changed files with 84 additions and 77 deletions
|
|
@ -5,32 +5,36 @@
|
|||
{
|
||||
opts = {
|
||||
enable = true;
|
||||
fps = 60;
|
||||
stages = "fade";
|
||||
settings = {
|
||||
fps = 60;
|
||||
stages = "fade";
|
||||
|
||||
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L27-L28
|
||||
maxHeight.__raw = "function() return math.floor(vim.o.lines * 0.75) end";
|
||||
maxWidth.__raw = "function() return math.floor(vim.o.columns * 0.75) end";
|
||||
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L27-L28
|
||||
maxHeight.__raw = /*lua*/
|
||||
''function() return math.floor(vim.o.lines * 0.75) end'';
|
||||
maxWidth.__raw = /*lua*/
|
||||
''function() return math.floor(vim.o.columns * 0.75) end'';
|
||||
|
||||
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L20-L26
|
||||
icons = {
|
||||
debug = icons.Debugger;
|
||||
error = icons.DiagnosticError;
|
||||
info = icons.DiagnosticInfo;
|
||||
trace = icons.DiagnosticHint;
|
||||
warn = icons.DiagnosticWarn;
|
||||
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L20-L26
|
||||
icons = {
|
||||
debug = icons.Debugger;
|
||||
error = icons.DiagnosticError;
|
||||
info = icons.DiagnosticInfo;
|
||||
trace = icons.DiagnosticHint;
|
||||
warn = icons.DiagnosticWarn;
|
||||
};
|
||||
|
||||
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L29-L42
|
||||
onOpen = ''
|
||||
function(win)
|
||||
local buf = vim.api.nvim_win_get_buf(win)
|
||||
vim.api.nvim_buf_set_option(buf, "filetype", "markdown")
|
||||
vim.api.nvim_win_set_config(win, { zindex = 175 })
|
||||
vim.wo[win].conceallevel = 3
|
||||
vim.wo[win].spell = false
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/notify.lua#L29-L42
|
||||
onOpen = ''
|
||||
function(win)
|
||||
local buf = vim.api.nvim_win_get_buf(win)
|
||||
vim.api.nvim_buf_set_option(buf, "filetype", "markdown")
|
||||
vim.api.nvim_win_set_config(win, { zindex = 175 })
|
||||
vim.wo[win].conceallevel = 3
|
||||
vim.wo[win].spell = false
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
rootOpts.keymaps = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue