Added debugger using nvim-dap to configuration
This commit is contained in:
parent
c4cfea57f8
commit
caed0ee794
3 changed files with 69 additions and 39 deletions
|
|
@ -2,21 +2,16 @@ return {
|
|||
{ "sitiom/nvim-numbertoggle", lazy = false, },
|
||||
{ "junegunn/gv.vim", cmd = { "GV" } },
|
||||
{ "mbbill/undotree", cmd = { "UndotreeToggle" } },
|
||||
{ "folke/trouble.nvim", cmd = { "Trouble" }, opts = {}},
|
||||
{ "zbirenbaum/copilot.lua", event = "InsertEnter", config = function() require("configs.copilot") end },
|
||||
{ "nvim-tree/nvim-tree.lua", cmd = { "NvimTreeToggle", "NvimTreeFocus" }, config = function() require("configs.nvimtree") end },
|
||||
{ "folke/zen-mode.nvim", keys = { "<leader>zz" }, config = function() require("configs.zenmode") end },
|
||||
{ "folke/trouble.nvim", cmd = { "Trouble" }, opts = {} },
|
||||
{ "zbirenbaum/copilot.lua", event = "InsertEnter", config = function() require("configs.copilot") end },
|
||||
{ "nvim-tree/nvim-tree.lua", cmd = { "NvimTreeToggle", "NvimTreeFocus" }, config = function() require("configs.nvimtree") end },
|
||||
{ "folke/zen-mode.nvim", keys = { "<leader>zz" }, config = function() require("configs.zenmode") end },
|
||||
{ "stevearc/conform.nvim", config = function() require("configs.conform") end },
|
||||
{ "mfussenegger/nvim-dap", lazy = false, },
|
||||
{ "rcarriga/nvim-dap-ui", dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" }, config = function() require("configs.nvim-dap") end, lazy = false },
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
dependencies = {
|
||||
{
|
||||
"zbirenbaum/copilot-cmp",
|
||||
config = function()
|
||||
require("copilot_cmp").setup()
|
||||
end,
|
||||
},
|
||||
},
|
||||
dependencies = { { "zbirenbaum/copilot-cmp", config = function() require("copilot_cmp").setup() end, }, },
|
||||
opts = {
|
||||
sources = {
|
||||
{ name = "nvim_lsp", group_index = 2 },
|
||||
|
|
@ -47,15 +42,22 @@ return {
|
|||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = { "williamboman/mason.nvim", "williamboman/mason-lspconfig.nvim" },
|
||||
config = function() require("nvchad.configs.lspconfig").defaults() require("configs.lspconfig") end,
|
||||
config = function()
|
||||
require("nvchad.configs.lspconfig").defaults()
|
||||
require("configs.lspconfig")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"ThePrimeagen/harpoon", branch = "harpoon2", dependencies = { "nvim-lua/plenary.nvim" },
|
||||
"ThePrimeagen/harpoon",
|
||||
branch = "harpoon2",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
keys = { "<leader>a", "<C-e>", "<C-j>", "<C-k>", "<C-l>", "<C-;>", "<leader><C-j>", "<leader><C-k>", "<leader><C-l>", "<leader><C-;>" },
|
||||
config = function() require("configs.harpoon") end,
|
||||
},
|
||||
{
|
||||
"kevinhwang91/nvim-ufo", lazy = false, dependencies = { "kevinhwang91/promise-async" },
|
||||
config = function() require("configs.ufo") end;
|
||||
"kevinhwang91/nvim-ufo",
|
||||
lazy = false,
|
||||
dependencies = { "kevinhwang91/promise-async" },
|
||||
config = function() require("configs.ufo") end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue