2023-05-02 21:28:40 +00:00
|
|
|
{lib, ...}:
|
|
|
|
with lib; {
|
2023-02-27 19:25:39 +00:00
|
|
|
options.vim.lsp = {
|
|
|
|
trouble = {
|
2023-04-02 16:58:57 +00:00
|
|
|
enable = mkEnableOption "Enable trouble diagnostics viewer";
|
2023-05-02 21:28:40 +00:00
|
|
|
|
|
|
|
mappings = {
|
|
|
|
toggle = mkMappingOption "Toggle trouble [trouble]" "<leader>xx";
|
|
|
|
workspaceDiagnostics = mkMappingOption "Workspace diagnostics [trouble]" "<leader>lwd";
|
|
|
|
documentDiagnostics = mkMappingOption "Document diagnostics [trouble]" "<leader>ld";
|
|
|
|
lspReferences = mkMappingOption "LSP References [trouble]" "<leader>lr";
|
|
|
|
quickfix = mkMappingOption "QuickFix [trouble]" "<leader>xq";
|
|
|
|
locList = mkMappingOption "LOCList [trouble]" "<leader>xl";
|
|
|
|
};
|
2023-02-27 19:25:39 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|