Skip to content

Commit fa5f747

Browse files
committed
fix(lsp): remove redundant option and add type annotation
Border is solid by default (see `:h vim.o.winborder`).
1 parent 6b239fb commit fa5f747

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lua/peter/util/lsp.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ function M.set_default_keymaps(client, bufnr)
239239
map("K", M.resolve_function({
240240
builtin = {
241241
name = "hover",
242-
opts = { max_height = 15, border = "solid" },
242+
---@type vim.lsp.buf.hover.Opts
243+
opts = { max_height = 15 },
243244
},
244245
}), {
245246
desc = "Hover",

0 commit comments

Comments
 (0)