.
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
-- local on_attach = require("plugins.configs.lspconfig").on_attach
|
-- local on_attach = require("plugins.configs.lspconfig").on_attach
|
||||||
-- local capabilities = require("plugins.configs.lspconfig").capabilities
|
-- local capabilities = require("plugins.configs.lspconfig").capabilities
|
||||||
--
|
--
|
||||||
-- local options = {
|
local options = {
|
||||||
-- server = {
|
-- server = {
|
||||||
-- on_attach = vim.tbl_deep_extend("force", on_attach, {
|
-- on_attach = vim.tbl_deep_extend("force", on_attach, {
|
||||||
-- vim.keymap.set("n", "<leader>H", rt)
|
-- vim.keymap.set("n", "<leader>H", rt)
|
||||||
-- },
|
-- },
|
||||||
-- capabilities = capabilities,
|
-- capabilities = capabilities,
|
||||||
-- },
|
-- },
|
||||||
-- }
|
}
|
||||||
--
|
|
||||||
-- return options
|
return options
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ M.general = {
|
|||||||
["<leader>N"] = { "<cmd> set nu! <CR>", "Toggle line number" },
|
["<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>X"] = { "<cmd>bdelete!<CR>", "Close Buffer and window!" },
|
||||||
["<leader>c"] = { "<cmd>Bdelete<CR>", "Close Buffer" },
|
["<leader>c"] = { "<cmd>Bdelete<CR>", "Close Buffer" },
|
||||||
["<leader>b"] = { "<cmd> Telescope buffers <CR>", "Find buffers" },
|
["<leader>b"] = { "<cmd> Telescope buffers <CR>", "Find buffers" },
|
||||||
|
|
||||||
@@ -68,6 +69,11 @@ M.general = {
|
|||||||
end,
|
end,
|
||||||
"Goto prev buffer",
|
"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 = {
|
v = {
|
||||||
[">"] = { ">gv", "indent" },
|
[">"] = { ">gv", "indent" },
|
||||||
|
|||||||
@@ -109,9 +109,9 @@ local plugins = {
|
|||||||
-- end
|
-- end
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
-- {
|
||||||
"mfussenegger/nvim-dap",
|
-- "mfussenegger/nvim-dap",
|
||||||
},
|
-- },
|
||||||
|
|
||||||
{
|
{
|
||||||
"saecki/crates.nvim",
|
"saecki/crates.nvim",
|
||||||
|
|||||||
Reference in New Issue
Block a user