docs: Delete reference URL (written in PR)
feat: "Break" and "Stop" arguments of vim.api.nvim_set_hl are changed because they are too common nouns feat: Comment out changes regarding diagnostic symbols so that only those who want to change them can do so
This commit is contained in:
parent
f1154553d1
commit
8de5226ac2
|
@ -90,17 +90,16 @@ return {
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Change breakpoint icons
|
-- Change breakpoint icons
|
||||||
-- For more information, see https://github.com/mfussenegger/nvim-dap/discussions/355
|
-- vim.api.nvim_set_hl(0, 'DapBreak', { fg = '#e51400' })
|
||||||
vim.api.nvim_set_hl(0, 'Break', { fg = '#e51400' })
|
-- vim.api.nvim_set_hl(0, 'DapStop', { fg = '#ffcc00' })
|
||||||
vim.api.nvim_set_hl(0, 'Stop', { fg = '#ffcc00' })
|
-- local breakpoint_icons = vim.g.have_nerd_font
|
||||||
local breakpoint_icons = vim.g.have_nerd_font
|
-- and { Breakpoint = '', BreakpointCondition = '', BreakpointRejected = '', LogPoint = '', Stopped = '' }
|
||||||
and { Breakpoint = '', BreakpointCondition = '', BreakpointRejected = '', LogPoint = '', Stopped = '' }
|
-- or { Breakpoint = '●', BreakpointCondition = '⊜', BreakpointRejected = '⊘', LogPoint = '◆', Stopped = '⭔' }
|
||||||
or { Breakpoint = '●', BreakpointCondition = '⊜', BreakpointRejected = '⊘', LogPoint = '◆', Stopped = '⭔' }
|
-- for type, icon in pairs(breakpoint_icons) do
|
||||||
for type, icon in pairs(breakpoint_icons) do
|
-- local tp = 'Dap' .. type
|
||||||
local tp = 'Dap' .. type
|
-- local hl = (type == 'Stopped') and 'DapStop' or 'DapBreak'
|
||||||
local hl = (type == 'Stopped') and 'Stop' or 'Break'
|
-- vim.fn.sign_define(tp, { text = icon, texthl = hl, numhl = hl })
|
||||||
vim.fn.sign_define(tp, { text = icon, texthl = hl, numhl = hl })
|
-- end
|
||||||
end
|
|
||||||
|
|
||||||
dap.listeners.after.event_initialized['dapui_config'] = dapui.open
|
dap.listeners.after.event_initialized['dapui_config'] = dapui.open
|
||||||
dap.listeners.before.event_terminated['dapui_config'] = dapui.close
|
dap.listeners.before.event_terminated['dapui_config'] = dapui.close
|
||||||
|
|
Loading…
Reference in New Issue