Skip to content

Commit

Permalink
feat: Improve noice.nvim config
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed Jan 12, 2025
1 parent 427d0b9 commit e0d0e2c
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions lua/vnext/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,27 @@ return {
{
"folke/noice.nvim",
event = "VeryLazy",
dependencies = {
-- {
-- "rcarriga/nvim-notify",
-- opts = {
-- top_down = true,
-- },
-- },
},
-- dependencies = {
-- { "rcarriga/nvim-notify" },
-- },
keys = {
{ "<leader>n", "", desc = "Noice" },
{ "<leader>nn", "<cmd>Noice all<cr>", desc = "Open Noice" },
},
opts = {
cmdline = {
view = "cmdline", -- classic cmdline at the botton
},
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, -- requires hrsh7th/nvim-cmp
},
},
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
lsp_doc_border = true, -- add a border to hover docs and signature help
},
Expand Down

0 comments on commit e0d0e2c

Please sign in to comment.