Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-x committed Jun 2, 2024
1 parent 56099bc commit ea395e0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lua/lsp_signature/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,6 @@ local function virtual_hint(hint, off_y)
}
)
else -- I may deprecated this when nvim 0.10 release
local doffset = offset + inlay_offset
if show_at == cur_line then
doffset = 0
else
doffset = offset
end

log('virtual text: ', cur_line, show_at, doffset, vt)
vim.api.nvim_buf_set_extmark(0, _LSP_SIG_VT_NS, show_at, 0, {
virt_text = { vt },
virt_text_pos = 'eol',
Expand All @@ -267,7 +259,6 @@ local close_events = { 'InsertLeave', 'BufHidden', 'ModeChanged' }
-- ----------------------
-- -- signature help --
-- ----------------------
-- Note: 0.6.x - signature_help(err, {result}, {ctx}, {config})
local signature_handler = function(err, result, ctx, config)
if err ~= nil then
print('lsp_signatur handler', err)
Expand Down

0 comments on commit ea395e0

Please sign in to comment.