mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/blink-cmp: support raw lua for settings.sources.providers.enabled
plugins/blink-cmp: conciseness Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> plugins/blink-cmp: add test for providers.enabled
This commit is contained in:
parent
a2f01876f7
commit
0e92aaf3f2
2 changed files with 8 additions and 1 deletions
|
@ -25,7 +25,7 @@ types.submodule {
|
||||||
};
|
};
|
||||||
|
|
||||||
enabled = mkNullOrOption' {
|
enabled = mkNullOrOption' {
|
||||||
type = types.bool;
|
type = with types; maybeRaw bool;
|
||||||
description = ''
|
description = ''
|
||||||
Whether or not to enable the provider.
|
Whether or not to enable the provider.
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -379,6 +379,13 @@
|
||||||
providers = {
|
providers = {
|
||||||
buffer.score_offset = -7;
|
buffer.score_offset = -7;
|
||||||
lsp.fallbacks = [ ];
|
lsp.fallbacks = [ ];
|
||||||
|
cmdline.enabled = {
|
||||||
|
__raw = ''
|
||||||
|
function()
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
cmdline = [ ];
|
cmdline = [ ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue