mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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
|
@ -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) [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue