mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-11 03:36:52 +02:00
feat: neovim
This commit is contained in:
15
home/base/server/neovim/lua/plugins/dapui.lua
Normal file
15
home/base/server/neovim/lua/plugins/dapui.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
"rcarriga/nvim-dap-ui",
|
||||
dependencies = { "mfussenegger/nvim-dap" },
|
||||
keys = {
|
||||
{ "<C-b>", "<cmd>lua require'dap'.toggle_breakpoint()<CR>", desc = "toggle_breakpoint" },
|
||||
},
|
||||
config = function()
|
||||
require("dapui").setup()
|
||||
local sign = vim.fn.sign_define
|
||||
|
||||
sign("DapBreakpoint", { text = "●", texthl = "DapBreakpoint", linehl = "", numhl = "" })
|
||||
sign("DapBreakpointCondition", { text = "●", texthl = "DapBreakpointCondition", linehl = "", numhl = "" })
|
||||
sign("DapLogPoint", { text = "◆", texthl = "DapLogPoint", linehl = "", numhl = "" })
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user