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

14 lines
324 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 = {
2024-09-27 09:55:03 +02:00
otter = {
2024-09-27 09:46:30 +02:00
enable = mkEnableOption "Otter LSP Injector";
mappings = {
toggle = mkMappingOption "Activate LSP on Cursor Position [otter]" "<leader>oa";
};
};
};
}