mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-24 09:48:51 +02:00
enc: update notify background
This commit is contained in:
parent
70e40989c9
commit
f5e3f130e4
4 changed files with 12 additions and 11 deletions
|
@ -80,7 +80,7 @@ return {
|
|||
formatting = {
|
||||
fields = { "kind", "abbr", "menu" },
|
||||
format = function(entry, vim_item)
|
||||
vim_item.menu = vim_item.kind
|
||||
vim_item.menu = vim.api.nvim_get_mode().mode == "c" and "" or vim_item.kind
|
||||
vim_item.kind = string.format("%s", require("user.icons")["kind"][vim_item.kind])
|
||||
-- vim_item.menu = ({
|
||||
-- nvim_lsp = "(LSP)",
|
||||
|
|
|
@ -19,14 +19,15 @@ return {
|
|||
max_width = function()
|
||||
return math.floor(vim.o.columns * 0.75)
|
||||
end,
|
||||
render = "wrapped-compact",
|
||||
},
|
||||
-- event = "BufWinEnter",
|
||||
config = function()
|
||||
config = function(_, opts)
|
||||
local notify = require("notify")
|
||||
-- this for transparency
|
||||
-- notify.setup { background_colour = "#000000", render = "compact" }
|
||||
-- notify.setup({ render = "compact" })
|
||||
notify.setup({ render = "wrapped-compact" })
|
||||
notify.setup(opts)
|
||||
-- this overwrites the vim notify function
|
||||
vim.notify = notify.notify
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue