Skip to content

Commit a7213e6

Browse files
author
Rakshit Sinha
committed
Added the folke/noice plugin
1 parent fff89d6 commit a7213e6

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

lua/rakshit/plugins/noice.lua

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
return {
2+
"folke/noice.nvim",
3+
event = "VeryLazy",
4+
dependencies = {
5+
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
6+
"MunifTanjim/nui.nvim",
7+
-- OPTIONAL:
8+
-- `nvim-notify` is only needed, if you want to use the notification view.
9+
-- If not available, we use `mini` as the fallback
10+
"rcarriga/nvim-notify",
11+
},
12+
opts = {
13+
lsp = {
14+
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
15+
override = {
16+
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
17+
["vim.lsp.util.stylize_markdown"] = true,
18+
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
19+
},
20+
},
21+
-- you can enable a preset for easier configuration
22+
presets = {
23+
bottom_search = true, -- use a classic bottom cmdline for search
24+
command_palette = true, -- position the cmdline and popupmenu together
25+
long_message_to_split = true, -- long messages will be sent to a split
26+
inc_rename = false, -- enables an input dialog for inc-rename.nvim
27+
lsp_doc_border = false, -- add a border to hover docs and signature help
28+
},
29+
},
30+
}

0 commit comments

Comments
 (0)