fix(lsp): restore float border (#4274)

This commit is contained in:
Alexey Svirschevskiy 2023-07-05 15:17:38 +02:00 committed by GitHub
parent da6c70b7c0
commit 01acdde705
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ function M.setup()
autocmds.configure_format_on_save() autocmds.configure_format_on_save()
local function set_handler_opts_if_not_set(name, handler, opts) local function set_handler_opts_if_not_set(name, handler, opts)
if debug.getinfo(vim.lsp.handlers[name], "S").source:match(vim.env.VIMRUNTIME) then if debug.getinfo(vim.lsp.handlers[name], "S").source:find(vim.env.VIMRUNTIME, 1, true) then
vim.lsp.handlers[name] = vim.lsp.with(handler, opts) vim.lsp.handlers[name] = vim.lsp.with(handler, opts)
end end
end end