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

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