Compare commits

...

2 Commits

Author SHA1 Message Date
0269979276 [Noice] Improve notification rendering 2025-03-27 11:34:25 +01:00
ad3afc0064 [Telescope] Add telescope notifications 2025-03-27 11:34:16 +01:00
2 changed files with 9 additions and 0 deletions

View File

@ -57,6 +57,10 @@ return {
opts.desc = "Show diagnostics"
vim.keymap.set('n', '<leader>fd', ':Telescope diagnostics<CR>', opts)
-- Notifications
opts.desc = "Show notifications"
vim.keymap.set('n', '<leader>fd', ':Telescope notify<CR>', opts)
-- Implementations
opts.desc = "Show implementations"
vim.keymap.set('n', '<leader>fi', ':Telescope lsp_implementations<CR>', opts)

View File

@ -10,6 +10,11 @@ return {
"rcarriga/nvim-notify",
},
config = function()
require( 'notify' ).setup( {
max_width = 80,
render = 'wrapped-default', -- default, minimal, simple, compact, wrapped-compact or wrapped-default
stages = 'slide', -- fade_in_slide_out, fade, slide, static
} );
require("noice").setup({
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**