diff --git a/lua/custom/configs/rust-tools.lua b/lua/custom/configs/rust-tools.lua index 490e1a0..3ec3772 100644 --- a/lua/custom/configs/rust-tools.lua +++ b/lua/custom/configs/rust-tools.lua @@ -1,13 +1,13 @@ -- local on_attach = require("plugins.configs.lspconfig").on_attach -- local capabilities = require("plugins.configs.lspconfig").capabilities -- --- local options = { +local options = { -- server = { -- on_attach = vim.tbl_deep_extend("force", on_attach, { -- vim.keymap.set("n", "H", rt) -- }, -- capabilities = capabilities, -- }, --- } --- --- return options +} + +return options diff --git a/lua/custom/mappings.lua b/lua/custom/mappings.lua index c339051..96905bb 100644 --- a/lua/custom/mappings.lua +++ b/lua/custom/mappings.lua @@ -37,6 +37,7 @@ M.general = { ["N"] = { " set nu! ", "Toggle line number" }, ["x"] = { "bdelete", "Close Buffer and window" }, + ["X"] = { "bdelete!", "Close Buffer and window!" }, ["c"] = { "Bdelete", "Close Buffer" }, ["b"] = { " Telescope buffers ", "Find buffers" }, @@ -68,6 +69,11 @@ M.general = { end, "Goto prev buffer", }, + + ["tl"] = { ":Neotest run last", "Neotest Run Last" }, + ["ts"] = { ":Neotest summary", "Neotest Summary" }, + ["to"] = { ":Neotest output", "Neotest Output" }, + ["ta"] = { ":Neotest output-panel", "Neotest Output Panel" }, }, v = { [">"] = { ">gv", "indent" }, diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index 74b80a9..34795a7 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -109,9 +109,9 @@ local plugins = { -- end }, - { - "mfussenegger/nvim-dap", - }, + -- { + -- "mfussenegger/nvim-dap", + -- }, { "saecki/crates.nvim",