feat: neovim

This commit is contained in:
Ryan Yin
2023-07-10 19:06:59 +08:00
parent b6629a38a1
commit 21b3d4ad37
37 changed files with 2499 additions and 18 deletions

View 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,
}