noice.lua 782 B

123456789101112131415161718
  1. require("noice").setup({
  2. lsp = {
  3. -- override markdown rendering so that **cmp** and other plugins use **Treesitter**
  4. override = {
  5. ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
  6. ["vim.lsp.util.stylize_markdown"] = true,
  7. ["cmp.entry.get_documentation"] = true,
  8. },
  9. },
  10. -- you can enable a preset for easier configuration
  11. presets = {
  12. bottom_search = false, -- use a classic bottom cmdline for search
  13. command_palette = true, -- position the cmdline and popupmenu together
  14. long_message_to_split = true, -- long messages will be sent to a split
  15. inc_rename = true, -- enables an input dialog for inc-rename.nvim
  16. lsp_doc_border = false, -- add a border to hover docs and signature help
  17. },
  18. })