mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 18:49:49 +01:00
17 lines
654 B
Nix
17 lines
654 B
Nix
{lib, ...}:
|
|
with lib; {
|
|
options.vim.lsp = {
|
|
trouble = {
|
|
enable = mkEnableOption "Enable trouble diagnostics viewer";
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|