noice.lua
1 --- Noice: cmdline, messages, popupmenu UI. Depends on nui.nvim; nvim-notify optional. 2 return { 3 specs = { 4 { src = 'https://github.com/folke/noice.nvim', name = 'noice.nvim' }, 5 { src = 'https://github.com/rcarriga/nvim-notify', name = 'nvim-notify' }, 6 }, 7 config = function() 8 local noice = require('noice') 9 if type(noice) == 'table' and noice.setup then 10 noice.setup({ 11 lsp = { 12 override = { 13 ['vim.lsp.util.convert_input_to_markdown_lines'] = true, 14 ['vim.lsp.util.stylize_markdown'] = true, 15 }, 16 }, 17 presets = { 18 bottom_search = true, 19 command_palette = true, 20 long_message_to_split = true, 21 inc_rename = false, 22 lsp_doc_border = false, 23 }, 24 }) 25 end 26 local notify = require('notify') 27 if type(notify) == 'table' and notify.setup then 28 notify.setup({}) 29 end 30 end, 31 }