From c706207007033c2cba8a4d8a55b53a66eb0d1e78 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 30 Mar 2024 13:25:05 +0100 Subject: [PATCH] tests: fix occurences of deprecated "options" option --- tests/test-sources/example-configurations/issues.nix | 4 ++-- tests/test-sources/modules/highlight.nix | 2 +- tests/test-sources/modules/options.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test-sources/example-configurations/issues.nix b/tests/test-sources/example-configurations/issues.nix index e3d574f3..6bd1c0f8 100644 --- a/tests/test-sources/example-configurations/issues.nix +++ b/tests/test-sources/example-configurations/issues.nix @@ -38,7 +38,7 @@ }; }; - options = { + opts = { # Indentation autoindent = true; tabstop = 4; @@ -69,7 +69,7 @@ }; }; - options = { + opts = { number = true; shiftwidth = 2; tabstop = 2; diff --git a/tests/test-sources/modules/highlight.nix b/tests/test-sources/modules/highlight.nix index 11031822..258f548b 100644 --- a/tests/test-sources/modules/highlight.nix +++ b/tests/test-sources/modules/highlight.nix @@ -1,6 +1,6 @@ { example = { - options.termguicolors = true; + opts.termguicolors = true; highlight = { MacchiatoRed.fg = "#ed8796"; diff --git a/tests/test-sources/modules/options.nix b/tests/test-sources/modules/options.nix index c6eddbf8..7866a87f 100644 --- a/tests/test-sources/modules/options.nix +++ b/tests/test-sources/modules/options.nix @@ -1,6 +1,6 @@ { options = { - options = { + opts = { updatetime = 100; # Faster completion # Line numbers