debug breakpoint in color

This commit is contained in:
SamPosh 2023-04-24 12:09:49 +05:30 committed by GitHub
parent 79b3c1d21b
commit 18e2a664fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,14 @@ return {
dap.set_breakpoint(vim.fn.input 'Breakpoint condition: ')
end)
-- Debug breakpoint will be in color
vim.api.nvim_set_hl(0, "blue", { fg = "#3d59a1", bg = "#FFFF00" })
vim.api.nvim_set_hl(0, "green", { fg = "#9ece6a", bg = "#FFFF00" })
vim.api.nvim_set_hl(0, "yellow", { fg = "#FAFA33", bg = "#FFFa05" })
vim.api.nvim_set_hl(0, "black", { fg = "#000000", bg = "#FFFF00" })
vim.fn.sign_define('DapBreakpoint',{ text="", texthl='blue',linehl='black', numhl='yellow' })
vim.fn.sign_define('DapStopped',{ text="", texthl='green',linehl='black', numhl='yellow' })
-- Dap UI setup
-- For more information, see |:help nvim-dap-ui|
dapui.setup {