-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ludovico Piero <[email protected]>
- Loading branch information
1 parent
f9c5148
commit 18b1442
Showing
1 changed file
with
65 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,77 @@ | ||
{ | ||
plugins.noice = { | ||
enable = true; | ||
lsp.override = { | ||
"vim.lsp.util.convert_input_to_markdown_lines" = true; | ||
"vim.lsp.util.stylize_markdown" = true; | ||
"cmp.entry.get_documentation" = true; | ||
}; | ||
views = { | ||
mini = { | ||
win_options.winblend = 0; | ||
}; | ||
cmdline_popup = { | ||
position = { | ||
row = 13; | ||
col = "50%"; | ||
}; | ||
size = { | ||
min_width = 60; | ||
width = "auto"; | ||
height = "auto"; | ||
}; | ||
settings = { | ||
lsp.override = { | ||
"vim.lsp.util.convert_input_to_markdown_lines" = true; | ||
"vim.lsp.util.stylize_markdown" = true; | ||
"cmp.entry.get_documentation" = true; | ||
}; | ||
cmdline_popupmenu = { | ||
relative = "editor"; | ||
position = { | ||
row = 16; | ||
col = "50%"; | ||
views = { | ||
mini = { | ||
win_options.winblend = 0; | ||
}; | ||
size = { | ||
width = 60; | ||
height = "auto"; | ||
max_height = 15; | ||
}; | ||
border = { | ||
style = "rounded"; | ||
padding = [ | ||
0 | ||
1 | ||
]; | ||
cmdline_popup = { | ||
position = { | ||
row = 13; | ||
col = "50%"; | ||
}; | ||
size = { | ||
min_width = 60; | ||
width = "auto"; | ||
height = "auto"; | ||
}; | ||
}; | ||
win_options = { | ||
winhighlight = { | ||
Normal = "Normal"; | ||
FloatBorder = "NoiceCmdlinePopupBorder"; | ||
cmdline_popupmenu = { | ||
relative = "editor"; | ||
position = { | ||
row = 16; | ||
col = "50%"; | ||
}; | ||
size = { | ||
width = 60; | ||
height = "auto"; | ||
max_height = 15; | ||
}; | ||
border = { | ||
style = "rounded"; | ||
padding = [ | ||
0 | ||
1 | ||
]; | ||
}; | ||
win_options = { | ||
winhighlight = { | ||
Normal = "Normal"; | ||
FloatBorder = "NoiceCmdlinePopupBorder"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
routes = [ | ||
# Hide unnecessary messages | ||
{ | ||
filter = { | ||
event = "msg_show"; | ||
any = [ | ||
{ find = "%d+L, %d+B"; } | ||
{ find = "; after #%d+"; } | ||
{ find = "; before #%d+"; } | ||
{ find = "%d fewer lines"; } | ||
{ find = "%d more lines"; } | ||
]; | ||
}; | ||
opts = { | ||
skip = true; | ||
}; | ||
} | ||
]; | ||
presets = { | ||
bottom_search = true; | ||
command_palette = true; | ||
long_message_to_split = true; | ||
inc_rename = true; | ||
routes = [ | ||
# Hide unnecessary messages | ||
{ | ||
filter = { | ||
event = "msg_show"; | ||
any = [ | ||
{ find = "%d+L, %d+B"; } | ||
{ find = "; after #%d+"; } | ||
{ find = "; before #%d+"; } | ||
{ find = "%d fewer lines"; } | ||
{ find = "%d more lines"; } | ||
]; | ||
}; | ||
opts = { | ||
skip = true; | ||
}; | ||
} | ||
]; | ||
presets = { | ||
bottom_search = true; | ||
command_palette = true; | ||
long_message_to_split = true; | ||
inc_rename = true; | ||
}; | ||
}; | ||
}; | ||
} |