feat: signature help borders

This commit is contained in:
2024-05-07 17:45:37 +02:00
parent e50f2e299c
commit 279b068dc0

View File

@@ -68,6 +68,14 @@ return {
},
},
config = function(_, opts)
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "single",
})
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
border = "single",
})
vim.api.nvim_create_autocmd("LspAttach", {
callback = function(args)
local buffer = args.buf
@@ -124,10 +132,6 @@ return {
require("lspconfig.ui.windows").default_options = {
border = "single",
}
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "single",
})
end,
},
{