From c33851ef012a7a29b5d8c051c7ba73c7ab74b06c Mon Sep 17 00:00:00 2001 From: Hadeed Ahmad Date: Mon, 2 Oct 2023 04:08:16 +0500 Subject: [PATCH] Add nvimgdb --- nvim/lua/plugins.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 460a417..2a89221 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -21,6 +21,24 @@ return { end }, + { + "sakhnik/nvim-gdb", + config = function() + vim.api.nvim_create_autocmd("FileType", { + pattern = "nvimgdb", + callback = function() + vim.opt.number = false + vim.opt.relativenumber = false + vim.opt.signcolumn = 'no' + + vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, { + command = "startinsert" + }) + end + }) + end + }, + { "abecodes/tabout.nvim", dependencies = { "nvim-treesitter" }, config = true }, { "numToStr/Comment.nvim", config = true },