Improved debugging

This commit is contained in:
Fred Drake
2024-10-02 17:25:25 -04:00
parent 1b8b135353
commit 10acaf2001
3 changed files with 37 additions and 26 deletions
+12 -14
View File
@@ -125,6 +125,18 @@
"<CMD>FzfLua lsp_typedefs jump_to_single_result=true ignore_current_line=true<CR>";
options = { desc = "Goto T[y]pe Definition"; };
}
{
mode = "n";
key = "D";
action = "<CMD>lua vim.diagnostic.open_float()<CR>";
options = { desc = "Popup Diagnostics"; };
}
{
mode = "n";
key = "<leader>cd";
action = "<CMD>Trouble diagnostics toggle<CR>";
options = { desc = "List All Diagnostics"; };
}
# SOPS
{
@@ -293,19 +305,5 @@
action = "<CMD>BufferLineCloseLeft<CR>";
options = { desc = "Delete Buffers to the Left"; };
}
# Code Actions
{
mode = "n";
key = "H";
action = "<CMD>lua vim.diagnostic.open_float()<CR>";
options = { desc = "Popup Diagnostics"; };
}
{
mode = "n";
key = "<leader>cd";
action = "<CMD>Trouble diagnostics toggle<CR>";
options = { desc = "List All Diagnostics"; };
}
];
}