plugins/copilot-lua: migrate to mkNeovimPlugin

This commit is contained in:
Heitor Augusto 2024-12-25 07:34:33 -03:00
parent a352bb89b0
commit 73303938ee
No known key found for this signature in database
6 changed files with 322 additions and 228 deletions

View file

@ -47,7 +47,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: builtins.isBool b && b;
in
lib.optionals (isEnabled copilot-lua-cfg.suggestion.enabled) [