refactor: add some views config for noice

This commit is contained in:
Dinesh Salunke 2023-09-14 08:53:00 +05:30
parent c06e3152cb
commit 9651a27812

View File

@ -357,6 +357,36 @@ return {
opts = { skip = true },
},
},
views = {
cmdline_popup = {
position = {
row = 5,
col = "50%",
},
size = {
width = 60,
height = "auto",
},
},
popupmenu = {
relative = "editor",
position = {
row = 8,
col = "50%",
},
size = {
width = 60,
height = 10,
},
border = {
style = "rounded",
padding = { 0, 1 },
},
win_options = {
winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" },
},
},
},
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {