macboolk doesn't like lua :c
This commit is contained in:
parent
f2ba1e8549
commit
5b483a9db7
34 changed files with 279 additions and 776 deletions
94
lua/plugins/wayland-noice.lua
Normal file
94
lua/plugins/wayland-noice.lua
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
return {
|
||||
{
|
||||
'folke/noice.nvim',
|
||||
dependencies = {
|
||||
'MunifTanjim/nui.nvim',
|
||||
'rcarriga/nvim-notify',
|
||||
},
|
||||
event = 'VeryLazy',
|
||||
opts = {
|
||||
lsp = {
|
||||
signature = {
|
||||
enabled = false,
|
||||
},
|
||||
override = {
|
||||
['vim.lsp.util.convert_input_to_markdown_lines'] = true,
|
||||
['vim.lsp.util.stylize_markdown'] = true,
|
||||
['cmp.entry.get_documentation'] = true,
|
||||
},
|
||||
},
|
||||
presets = {
|
||||
bottom_search = true,
|
||||
command_palette = true,
|
||||
lsp_doc_border = false,
|
||||
long_message_to_split = true,
|
||||
inc_rename = true,
|
||||
},
|
||||
views = {
|
||||
split = {
|
||||
enter = true,
|
||||
},
|
||||
cmdline_popup = {
|
||||
border = {
|
||||
style = 'none',
|
||||
padding = { 2, 1 },
|
||||
},
|
||||
filter_options = {},
|
||||
win_options = {
|
||||
winhighlight = 'NormalFloat:NormalFloat,FloatBorder:FloatBorder',
|
||||
},
|
||||
},
|
||||
popupmenu = {
|
||||
border = {
|
||||
style = 'none',
|
||||
padding = { 1, 2 },
|
||||
},
|
||||
filter_options = {},
|
||||
win_options = {
|
||||
winhighlight = 'NormalFloat:NormalFloat,FloatBorder:FloatBorder',
|
||||
},
|
||||
virtualtext = {
|
||||
hl_group = 'Search',
|
||||
},
|
||||
},
|
||||
},
|
||||
routes = {
|
||||
-- {
|
||||
-- filter = {
|
||||
-- event = 'msg_show',
|
||||
-- kind = 'search_count',
|
||||
-- },
|
||||
-- opts = {
|
||||
-- skip = true,
|
||||
-- },
|
||||
-- },
|
||||
{
|
||||
view = 'split',
|
||||
filter = {
|
||||
event = { 'msg_show', 'noice' },
|
||||
min_height = 20,
|
||||
},
|
||||
},
|
||||
},
|
||||
messages = {
|
||||
enabled = true,
|
||||
view = 'notify',
|
||||
view_error = 'notify',
|
||||
view_warn = 'notify',
|
||||
view_history = 'messages',
|
||||
view_search = 'virtualtext',
|
||||
opts = {},
|
||||
},
|
||||
notify = {
|
||||
enabled = true,
|
||||
view = 'notify',
|
||||
},
|
||||
commands = {
|
||||
search = {
|
||||
view = 'popup',
|
||||
filter = { kind = 'search' },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue