mirror of
https://github.com/StepanovPlaton/dotfiles.git
synced 2026-04-04 04:40:47 +04:00
25.12.23
This commit is contained in:
20
.config/nvim/lua/plugins/trouble.lua
Normal file
20
.config/nvim/lua/plugins/trouble.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
keys = {
|
||||
{ "<LEADER>tt", "<CMD>TroubleToggle<CR>" },
|
||||
{ "<LEADER>tc", "<CMD>TroubleClose<CR>" },
|
||||
|
||||
{ "<LEADER>ttw", "<CMD>TroubleToggle workspace_diagnostics<CR>" },
|
||||
{ "<LEADER>ttd", "<CMD>TroubleToggle document_diagnostics<CR>" },
|
||||
|
||||
{ "<LEADER>ttf", "<CMD>TroubleToggle quickfix<CR>" },
|
||||
{ "<LEADER>ttl", "<CMD>TroubleToggle loclist<CR>" },
|
||||
|
||||
{ "<LEADER>tlr", "<CMD>TroubleToggle lsp_references<CR>" },
|
||||
{ "<LEADER>tld", "<CMD>TroubleToggle lsp_definitions<CR>" },
|
||||
{ "<LEADER>tltd", "<CMD>TroubleToggle lsp_type_definitions<CR>" },
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user