mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-06 07:14:31 +02:00
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
31 lines
884 B
Nix
31 lines
884 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib.nixvim) defaultNullOpts;
|
|
in
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "blink-compat";
|
|
packPathName = "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;
|
|
};
|
|
}
|