1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-16 23:42:47 +01:00
nixvim/plugins/by-name/blink-compat/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

30 lines
851 B
Nix

{ lib, ... }:
let
inherit (lib.nixvim) defaultNullOpts;
in
lib.nixvim.plugins.mkNeovimPlugin {
name = "blink-compat";
package = "blink-compat";
description = "Compatibility layer for using nvim-cmp sources on blink.cmp";
maintainers = [ lib.maintainers.HeitorAugustoLN ];
settingsOptions = {
impersonate_nvim_cmp = defaultNullOpts.mkBool false ''
Whether to impersonate nvim-cmp
Some plugins lazily register their completion source when nvim-cmp is
loaded, so pretend that we are nvim-cmp, and that nvim-cmp is loaded.
most plugins don't do this, so this option should rarely be needed.
'';
debug = defaultNullOpts.mkBool false ''
Whether to enable debug mode. Might be useful for troubleshooting.
'';
};
settingsExample = {
impersonate_nvim_cmp = true;
debug = false;
};
}