Skip to content

Commit

Permalink
fix(highlights): Correct DapUINormalFloat to DapUIFloatNormal (#305)
Browse files Browse the repository at this point in the history
DapUIFloatNormal is what's set in highlights.lua, but DapUINormalFloat was being used in open_float
  • Loading branch information
LittleTealeaf authored Jan 20, 2024
1 parent a6beb3a commit 0b4816e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dapui/windows/float.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function M.open_float(settings)
local content_window = api.nvim_open_win(content_buffer, false, opts)

local output_win_id = api.nvim_win_get_number(content_window)
vim.fn.setwinvar(output_win_id, "&winhl", "Normal:DapUINormalFloat,FloatBorder:DapUIFloatBorder")
vim.fn.setwinvar(output_win_id, "&winhl", "Normal:DapUIFloatNormal,FloatBorder:DapUIFloatBorder")
vim.api.nvim_win_set_option(content_window, "wrap", false)

return Float:new(content_window, position)
Expand Down

0 comments on commit 0b4816e

Please sign in to comment.