Skip to content

feat: add DapUIEndOfBuffer highlight #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lua/dapui/config/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function M.setup()
hi default DapUIRestart guifg=#A9FF68
hi default DapUIUnavailable guifg=#424242
hi default DapUIWinSelect ctermfg=Cyan guifg=#00f1f5 gui=bold
hi default link DapUIEndofBuffer EndofBuffer
]])

-- Generate *NC variants of the control highlight groups
Expand Down
2 changes: 1 addition & 1 deletion lua/dapui/windows/layout.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ function WindowLayout:_init_win_settings(win)
for key, val in pairs(win_settings) do
api.nvim_win_set_option(win, key, val)
end
vim.fn.setwinvar(win, "&winhl", "Normal:DapUINormal,EndOfBuffer:DapUINormal")
vim.fn.setwinvar(win, "&winhl", "Normal:DapUINormal,EndOfBuffer:DapUIEndOfBuffer")
end

function WindowLayout:new(layout)
Expand Down