neovim-flake/modules/plugins/lsp/otter/otter.nix
2024-09-27 11:35:39 +02:00

13 lines
324 B
Nix

{lib, ...}: let
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.binds) mkMappingOption;
in {
options.vim.lsp = {
otter = {
enable = mkEnableOption "Otter LSP Injector";
mappings = {
toggle = mkMappingOption "Activate LSP on Cursor Position [otter]" "<leader>lo";
};
};
};
}