Finish setting up noice

This commit is contained in:
2023-09-19 16:05:35 +02:00
parent f12eff2a2d
commit 54d7f7c77c
3 changed files with 31 additions and 5 deletions
+20
View File
@@ -17,14 +17,34 @@
-- https://github.com/folke/noice.nvim
require("noice").setup({
cmdline = {
view = "cmdline_popup",
format = {
cmdline = false,
search_down = false,
search_up = false,
filter = false,
lua = false,
help = false,
},
},
messages = {
enabled = true,
},
lsp = {
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
hover = {
silent = true,
},
},
presets = {
command_palette = true,
},
})
-- using notify directly instead
-- vim.notify = require("noice").notify