у меня нет больше сил это говно чинить, поэтому выпилил
This commit is contained in:
parent
01b7c4e280
commit
6c21d8c1c3
|
@ -22,4 +22,3 @@ require "configs.colorizer"
|
||||||
require "configs.autotag"
|
require "configs.autotag"
|
||||||
require "configs.prettier"
|
require "configs.prettier"
|
||||||
require "configs.nvimufo"
|
require "configs.nvimufo"
|
||||||
require "configs.notify"
|
|
||||||
|
|
|
@ -1,40 +0,0 @@
|
||||||
local BUILTIN_STAGES = {
|
|
||||||
FADE = "fade",
|
|
||||||
SLIDE = "slide",
|
|
||||||
FADE_IN_SLIDE_OUT = "fade_in_slide_out",
|
|
||||||
STATIC = "static",
|
|
||||||
}
|
|
||||||
|
|
||||||
require("notify").setup({
|
|
||||||
level = vim.log.levels.TRACE,
|
|
||||||
timeout = 5000,
|
|
||||||
max_height = function()
|
|
||||||
return math.floor(vim.o.lines * 0.75)
|
|
||||||
end,
|
|
||||||
max_width = function()
|
|
||||||
return math.floor(vim.o.columns * 0.75)
|
|
||||||
end,
|
|
||||||
on_open = function(win)
|
|
||||||
vim.api.nvim_win_set_config(win, { zindex = 100 })
|
|
||||||
end,
|
|
||||||
stages = BUILTIN_STAGES.SLIDE,
|
|
||||||
render = "default",
|
|
||||||
background_colour = "NotifyBackground",
|
|
||||||
on_close = function () end,
|
|
||||||
minimum_width = 50,
|
|
||||||
fps = 10,
|
|
||||||
top_down = true,
|
|
||||||
time_formats = {
|
|
||||||
notification_history = "%FT%T",
|
|
||||||
notification = "%T",
|
|
||||||
},
|
|
||||||
icons = {
|
|
||||||
ERROR = " ",
|
|
||||||
WARN = "",
|
|
||||||
INFO = "",
|
|
||||||
DEBUG = " ",
|
|
||||||
TRACE = "✎ ",
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
require("notify")("You're welcome!")
|
|
|
@ -252,9 +252,6 @@ lvim.plugins = {
|
||||||
{
|
{
|
||||||
"tanvirtin/monokai.nvim"
|
"tanvirtin/monokai.nvim"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"rcarriga/nvim-notify",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
|
@ -275,7 +272,6 @@ lvim.plugins = {
|
||||||
-- OPTIONAL:
|
-- OPTIONAL:
|
||||||
-- `nvim-notify` is only needed, if you want to use the notification view.
|
-- `nvim-notify` is only needed, if you want to use the notification view.
|
||||||
-- If not available, we use `mini` as the fallback
|
-- If not available, we use `mini` as the fallback
|
||||||
"rcarriga/nvim-notify",
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue