Skip to content

Commit

Permalink
fix(lsp): restore float border (#4274)
Browse files Browse the repository at this point in the history
  • Loading branch information
svirschevskiy committed Jul 5, 2023
1 parent da6c70b commit 01acdde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lvim/lsp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function M.setup()
autocmds.configure_format_on_save()

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)
end
end
Expand Down

0 comments on commit 01acdde

Please sign in to comment.