nvf/modules/plugins/lsp/otter/otter.nix

14 lines
324 B
Nix
Raw Normal View History

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