mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-19 18:25:11 +02:00
plugins/copilot-lua: migrate to mkNeovimPlugin
This commit is contained in:
parent
a352bb89b0
commit
73303938ee
6 changed files with 322 additions and 228 deletions
|
@ -57,7 +57,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
extraConfig = {
|
||||
warnings =
|
||||
let
|
||||
copilot-lua-cfg = config.plugins.copilot-lua;
|
||||
copilot-lua-cfg = config.plugins.copilot-lua.settings;
|
||||
isEnabled = b: (lib.isBool b && b);
|
||||
in
|
||||
lib.optional (isEnabled copilot-lua-cfg.suggestion.enabled) ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue