feat: clean up noice notifications
This commit is contained in:
parent
dd54b19ea2
commit
f41e606811
2 changed files with 19 additions and 3 deletions
|
@ -87,8 +87,6 @@ local config = {
|
|||
-- you may use <leader>ld to toggle
|
||||
enable_on_start = true,
|
||||
},
|
||||
-- See https://github.com/ray-x/lsp_signature.nvim#full-configuration-with-default-values
|
||||
lsp_signature = {},
|
||||
-- See https://github.com/nvim-lualine/lualine.nvim#default-configuration
|
||||
lualine = {},
|
||||
-- See https://github.com/L3MON4D3/LuaSnip/blob/577045e9adf325e58f690f4d4b4a293f3dcec1b3/README.md#config
|
||||
|
|
|
@ -15,6 +15,16 @@ return {
|
|||
merge = true,
|
||||
},
|
||||
},
|
||||
messages = {
|
||||
-- NOTE: If you enable messages, then the cmdline is enabled automatically.
|
||||
-- This is a current Neovim limitation.
|
||||
enabled = true, -- enables the Noice messages UI
|
||||
view = 'mini', -- default view for messages
|
||||
view_error = 'notify', -- view for errors
|
||||
view_warn = 'notify', -- view for warnings
|
||||
view_history = 'messages', -- view for :messages
|
||||
view_search = 'virtualtext', -- view for search count messages. Set to `false` to disable
|
||||
},
|
||||
lsp = {
|
||||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||
hover = {
|
||||
|
@ -23,6 +33,12 @@ return {
|
|||
signature = {
|
||||
enabled = true,
|
||||
},
|
||||
message = {
|
||||
-- Messages shown by lsp servers
|
||||
enabled = true,
|
||||
view = 'mini',
|
||||
opts = {},
|
||||
},
|
||||
override = {
|
||||
['vim.lsp.util.convert_input_to_markdown_lines'] = true,
|
||||
['vim.lsp.util.stylize_markdown'] = true,
|
||||
|
@ -48,6 +64,8 @@ return {
|
|||
event = 'VeryLazy',
|
||||
dependencies = {
|
||||
'MunifTanjim/nui.nvim',
|
||||
'rcarriga/nvim-notify',
|
||||
{ 'rcarriga/nvim-notify', opts = {
|
||||
timeout = 1000,
|
||||
} },
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue