refactor(nvim)!: add opts option

This commit is contained in:
Moritz Böhme 2023-09-10 13:30:29 +02:00
parent 12a5420ee9
commit 6a125a1df6
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
27 changed files with 273 additions and 238 deletions

View file

@ -0,0 +1,21 @@
require("noice").setup({
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
progress = {
enabled = false,
},
},
-- you can enable a preset for easier configuration
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
})