mirror of
https://github.com/cap153/nvim.git
synced 2026-04-20 20:25:44 +08:00
过滤部分日志
This commit is contained in:
parent
741c09be93
commit
e4487aa27f
1 changed files with 14 additions and 5 deletions
|
|
@ -19,17 +19,26 @@ return {
|
|||
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
|
||||
},
|
||||
},
|
||||
-- you can enable a preset for easier configuration
|
||||
-- 启用一个预设以简化配置
|
||||
presets = {
|
||||
bottom_search = true, -- use a classic bottom cmdline for search
|
||||
command_palette = true, -- position the cmdline and popupmenu together
|
||||
bottom_search = true, -- use a classic bottom cmdline for search
|
||||
command_palette = true, -- position the cmdline and popupmenu together
|
||||
long_message_to_split = true, -- long messages will be sent to a split
|
||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||
},
|
||||
-- 在这里添加或修改 routes 配置
|
||||
routes = {
|
||||
{
|
||||
-- 过滤翻译插件的成功提示
|
||||
filter = {
|
||||
event = "msg_show",
|
||||
find = "Translate success",
|
||||
},
|
||||
opts = { skip = true },
|
||||
},
|
||||
{
|
||||
-- 过滤打开rust文件不影响使用的错误提示
|
||||
filter = {
|
||||
event = "msg_show",
|
||||
kind = "emsg",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue