diff --git a/plugins/by-name/codeium-nvim/default.nix b/plugins/by-name/codeium-nvim/default.nix index 01fdb962..a0c37c19 100644 --- a/plugins/by-name/codeium-nvim/default.nix +++ b/plugins/by-name/codeium-nvim/default.nix @@ -16,40 +16,7 @@ lib.nixvim.plugins.mkNeovimPlugin { ]; # TODO: added 2024-09-03 remove after 24.11 - deprecateExtraOptions = true; - optionsRenamedToSettings = [ - "configPath" - "binPath" - [ - "api" - "host" - ] - [ - "api" - "port" - ] - [ - "tools" - "uname" - ] - [ - "tools" - "uuidgen" - ] - [ - "tools" - "curl" - ] - [ - "tools" - "gzip" - ] - [ - "tools" - "languageServer" - ] - "wrapper" - ]; + inherit (import ./deprecations.nix) deprecateExtraOptions optionsRenamedToSettings; # Register nvim-cmp association imports = [ diff --git a/plugins/by-name/codeium-nvim/deprecations.nix b/plugins/by-name/codeium-nvim/deprecations.nix new file mode 100644 index 00000000..a5c32845 --- /dev/null +++ b/plugins/by-name/codeium-nvim/deprecations.nix @@ -0,0 +1,36 @@ +{ + deprecateExtraOptions = true; + optionsRenamedToSettings = [ + "configPath" + "binPath" + [ + "api" + "host" + ] + [ + "api" + "port" + ] + [ + "tools" + "uname" + ] + [ + "tools" + "uuidgen" + ] + [ + "tools" + "curl" + ] + [ + "tools" + "gzip" + ] + [ + "tools" + "languageServer" + ] + "wrapper" + ]; +}