From 71f30f72c0c8338ff842026ca017a8d9f794383c Mon Sep 17 00:00:00 2001 From: Maximiliano Curia Date: Mon, 4 Jul 2022 18:02:08 +0200 Subject: [PATCH] signatureHelp: don't capture focus --- lua/ui/lsp.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/ui/lsp.lua b/lua/ui/lsp.lua index 798b051..cb7b67f 100644 --- a/lua/ui/lsp.lua +++ b/lua/ui/lsp.lua @@ -22,6 +22,8 @@ vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { }) vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { border = "single", + focusable = false, + relative = "cursor", }) -- suppress error messages from lang servers