Skip to content

Commit

Permalink
fix(highlights): Fixes formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Figgins committed Jun 27, 2024
1 parent 7009b3b commit f036cc5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lua/lsp-overloads/models/signature.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,13 @@ function Signature:create_signature_popup()
-- so keep track of new buffer and win numbers
local fbuf, fwin = vim.lsp.util.open_floating_preview(self.signature_content.contents, "markdown", self.config)
if self.signature_content.active_hl then
vim.api.nvim_buf_add_highlight(fbuf, -1, "LspSignatureActiveParameter", self.signature_content.label_line, unpack(self.signature_content.active_hl))
vim.api.nvim_buf_add_highlight(
fbuf,
-1,
"LspSignatureActiveParameter",
self.signature_content.label_line,
unpack(self.signature_content.active_hl)
)
end
local bufnr = vim.api.nvim_get_current_buf()

Expand Down

0 comments on commit f036cc5

Please sign in to comment.