This commit is contained in:
2023-12-21 11:55:52 -05:00
parent 9e694b6608
commit 97cf8dedbc
3 changed files with 13 additions and 7 deletions

View File

@@ -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", "<leader>H", rt)
-- },
-- capabilities = capabilities,
-- },
-- }
--
-- return options
}
return options

View File

@@ -37,6 +37,7 @@ M.general = {
["<leader>N"] = { "<cmd> set nu! <CR>", "Toggle line number" },
["<leader>x"] = { "<cmd>bdelete<CR>", "Close Buffer and window" },
["<leader>X"] = { "<cmd>bdelete!<CR>", "Close Buffer and window!" },
["<leader>c"] = { "<cmd>Bdelete<CR>", "Close Buffer" },
["<leader>b"] = { "<cmd> Telescope buffers <CR>", "Find buffers" },
@@ -68,6 +69,11 @@ M.general = {
end,
"Goto prev buffer",
},
["<leader>tl"] = { ":Neotest run last<CR>", "Neotest Run Last" },
["<leader>ts"] = { ":Neotest summary<CR>", "Neotest Summary" },
["<leader>to"] = { ":Neotest output<CR>", "Neotest Output" },
["<leader>ta"] = { ":Neotest output-panel<CR>", "Neotest Output Panel" },
},
v = {
[">"] = { ">gv", "indent" },

View File

@@ -109,9 +109,9 @@ local plugins = {
-- end
},
{
"mfussenegger/nvim-dap",
},
-- {
-- "mfussenegger/nvim-dap",
-- },
{
"saecki/crates.nvim",