diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 8e14e99..35505c1 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -13,9 +13,9 @@ return { -- vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = "rounded" }) -- vim.lsp.handlers["textDocument/signatureHelp"] = -- vim.lsp.with(vim.lsp.handlers.signature_help, { border = "rounded" }) - -- vim.diagnostic.config({ - -- float = { border = "rounded" }, - -- }) + vim.diagnostic.config({ + float = { border = "rounded" }, + }) end, opts = { -- autoformat = false, @@ -23,7 +23,9 @@ return { update_in_insert = true, }, setup = { - rust_analyzer = function() return true end, + rust_analyzer = function() + return true + end, }, servers = { yamlls = { diff --git a/lua/plugins/noice.lua b/lua/plugins/noice.lua index 75a80b2..5d94886 100644 --- a/lua/plugins/noice.lua +++ b/lua/plugins/noice.lua @@ -8,18 +8,27 @@ return { cmdline = { pattern = "^:", icon = ":", lang = "vim" }, }, }, - -- views = { - -- hover = { - -- border = { style = "rounded" }, - -- size = { max_width = 20 }, - -- }, - -- }, + views = { + hover = { + border = { style = "rounded" }, + -- size = { max_width = 20 }, + }, + }, presets = { bottom_search = true, command_palette = false, long_message_to_split = true, lsp_doc_border = true, }, + routes = { + { + filter = { + event = "notify", + find = "Request textDocument/inlayHint failed", + }, + opts = { skip = true }, + }, + }, -- lsp = { -- progress = { -- enabled = false