feat!: move Tagbar and Trouble to LSP menu from Find menu
All checks were successful
Luacheck / Luacheck (push) Successful in 7s
StyLua / StyLuacheck (push) Successful in 11s

This commit is contained in:
Jiří Štefka 2023-12-03 02:07:54 +01:00
parent 8eaf4288da
commit 267a6f1929
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

View file

@ -236,16 +236,16 @@ local config = {
["<leader>xs"] = { "<cmd>VimtexToggleMain<cr>", desc = "Set current file as 'current project'" }, ["<leader>xs"] = { "<cmd>VimtexToggleMain<cr>", desc = "Set current file as 'current project'" },
["<leader>xa"] = { "<cmd>VimtexContextMenu<cr>", desc = "Show context menu" }, ["<leader>xa"] = { "<cmd>VimtexContextMenu<cr>", desc = "Show context menu" },
-- Trouble, Taglist -- Trouble, Taglist
["<leader>ft"] = { desc = false, name = "Trouble, Tagbar" }, ["<leader>lt"] = { desc = false, name = "Trouble, Tagbar" },
-- Taglist -- Taglist
["<leader>ftT"] = { "<cmd>TlistToggle<cr>", desc = "Tagbar toggle" }, ["<leader>ltT"] = { "<cmd>TlistToggle<cr>", desc = "Tagbar toggle" },
-- Trouble -- Trouble
["<leader>ftx"] = { "<cmd>TroubleToggle<cr>", desc = "Toggle Trouble" }, ["<leader>ltx"] = { "<cmd>TroubleToggle<cr>", desc = "Toggle Trouble" },
["<leader>ftw"] = { "<cmd>TroubleToggle workspace_diagnostics<cr>", desc = "Workspace diagnostics" }, ["<leader>ltw"] = { "<cmd>TroubleToggle workspace_diagnostics<cr>", desc = "Workspace diagnostics" },
["<leader>ftd"] = { "<cmd>TroubleToggle document_diagnostics<cr>", desc = "Document diagnostics" }, ["<leader>ltd"] = { "<cmd>TroubleToggle document_diagnostics<cr>", desc = "Document diagnostics" },
["<leader>ftq"] = { "<cmd>TroubleToggle quickfix<cr>", desc = "Quickfix" }, ["<leader>ltq"] = { "<cmd>TroubleToggle quickfix<cr>", desc = "Quickfix" },
["<leader>ftl"] = { "<cmd>TroubleToggle loclist<cr>", desc = "Loc List" }, ["<leader>ltl"] = { "<cmd>TroubleToggle loclist<cr>", desc = "Loc List" },
["<leader>ftR"] = { "<cmd>TroubleToggle lsp_references<cr>", desc = "Lsp references" }, ["<leader>ltR"] = { "<cmd>TroubleToggle lsp_references<cr>", desc = "Lsp references" },
-- ["<leader>ftt"] = { "<cmd>TodoTrouble<cr>", desc = "Todo Trouble" }, -- ["<leader>ftt"] = { "<cmd>TodoTrouble<cr>", desc = "Todo Trouble" },
-- --
-- Autosave -- Autosave