backup
This commit is contained in:
parent
58cea6e0da
commit
a4b01b8502
2 changed files with 43 additions and 15 deletions
|
@ -41,6 +41,32 @@ map('n', '<leader>sp', '<cmd>lua require("spectre").open_file_search({select_wor
|
|||
desc = "Search on current file"
|
||||
})
|
||||
|
||||
map('n', '<leader>dc', vim.cmd.DapContinue)
|
||||
map('n', '<leader>db', vim.cmd.DapToggleBreakpoint)
|
||||
|
||||
map('n', '<leader>fr', function()
|
||||
require('telescope.builtin').lsp_references()
|
||||
end, { desc = "LSP references" })
|
||||
map('n', '<leader>fi', function()
|
||||
require('telescope.builtin').lsp_implementations()
|
||||
end, { desc = "LSP implementations" })
|
||||
map('n', '<leader>fd', function()
|
||||
require('telescope.builtin').lsp_definitions()
|
||||
end, { desc = "LSP definitions" })
|
||||
map('n', '<leader>fs', function()
|
||||
require('telescope.builtin').lsp_document_symbols()
|
||||
end, { desc = "LSP document symbols" })
|
||||
map('n', '<leader>fW', function()
|
||||
require('telescope.builtin').lsp_workspace_symbols()
|
||||
end, { desc = "LSP workspace symbols" })
|
||||
map('n', '<leader>fD', function()
|
||||
require('telescope.builtin').diagnostics()
|
||||
end, { desc = "LSP diagnostics" })
|
||||
map('n', '<leader>fI', function()
|
||||
require('telescope.builtin').lsp_incoming_calls()
|
||||
end, { desc = "LSP incoming calls" })
|
||||
map('n', '<leader>fO', function()
|
||||
require('telescope.builtin').lsp_outgoing_calls()
|
||||
end, { desc = "LSP outgoing calls" })
|
||||
|
||||
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
|
||||
|
|
|
@ -61,24 +61,24 @@ return {
|
|||
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||
-- order to load the plugin when the command is run for the first time
|
||||
keys = {
|
||||
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
|
||||
{ "<leader>gg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
-- add any options here
|
||||
},
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
"rcarriga/nvim-notify",
|
||||
},
|
||||
config = function()
|
||||
require "configs.noice"
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- "folke/noice.nvim",
|
||||
-- event = "VeryLazy",
|
||||
-- opts = {
|
||||
-- -- add any options here
|
||||
-- },
|
||||
-- dependencies = {
|
||||
-- "MunifTanjim/nui.nvim",
|
||||
-- "rcarriga/nvim-notify",
|
||||
-- },
|
||||
-- config = function()
|
||||
-- require "configs.noice"
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
{
|
||||
"majutsushi/tagbar",
|
||||
|
@ -154,11 +154,13 @@ return {
|
|||
dependencies = {
|
||||
"mfussenegger/nvim-dap",
|
||||
"nvim-neotest/nvim-nio",
|
||||
"theHamsta/nvim-dap-virtual-text",
|
||||
},
|
||||
config = function()
|
||||
local dap, dapui = require("dap"), require("dapui")
|
||||
|
||||
dapui.setup()
|
||||
require("nvim-dap-virtual-text").setup()
|
||||
|
||||
dap.listeners.before.attach.dapui_config = function()
|
||||
dapui.open()
|
||||
|
|
Loading…
Reference in a new issue