neovim-flake/modules/plugins/lsp/otter/otter.nix

15 lines
327 B
Nix
Raw Normal View History

2024-09-27 09:46:30 +02:00
{lib, ...}: let
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.binds) mkMappingOption;
in {
options.vim.lsp = {
trouble = {
enable = mkEnableOption "Otter LSP Injector";
mappings = {
toggle = mkMappingOption "Activate LSP on Cursor Position [otter]" "<leader>oa";
};
};
};
}