diff options
| author | seth <[email protected]> | 2023-09-17 04:54:00 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-10-07 12:55:41 -0400 |
| commit | 9d0051e6b4170851ebcc09e7ff44097818c8e1dc (patch) | |
| tree | 067e1d6b745fc61aeb9b885439482f946bbdf2fe /plugins/noice.lua | |
| parent | e910460767dd835c7fb8aa7a59082e645c207cbd (diff) | |
start using willruggiano/neovim.nix
Diffstat (limited to 'plugins/noice.lua')
| -rw-r--r-- | plugins/noice.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/noice.lua b/plugins/noice.lua new file mode 100644 index 0000000..ac8879e --- /dev/null +++ b/plugins/noice.lua @@ -0,0 +1,30 @@ +return function() + require("noice").setup({ + lsp = { + override = { + ["vim.lsp.util.convert_input_to_markdown_lines"] = true, + ["vim.lsp.util.stylize_markdown"] = true, + ["cmp.entry.get_documentation"] = true, + }, + }, + routes = { + { + filter = { + event = "msg_show", + any = { + { find = "%d+L, %d+B" }, + { find = "; after #%d+" }, + { find = "; before #%d+" }, + }, + }, + view = "mini", + }, + }, + presets = { + bottom_search = true, + command_palette = true, + long_message_to_split = true, + inc_rename = true, + }, + }) +end |
