From 5bfbc1f6ca0c257d8709bf975f6b318d93eb2efc Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 25 Apr 2026 19:36:00 -0500 Subject: [PATCH] tests: fix neovim program test --- tests/modules/programs/neovim/plugin-config.expected | 2 +- tests/modules/programs/neovim/plugin-config.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/modules/programs/neovim/plugin-config.expected b/tests/modules/programs/neovim/plugin-config.expected index 29b28ba32..83fe94577 100644 --- a/tests/modules/programs/neovim/plugin-config.expected +++ b/tests/modules/programs/neovim/plugin-config.expected @@ -1,7 +1,7 @@ package.path = "/nix/store/00000000000000000000000000000000-luajit/share/lua/5.1/?.lua;/nix/store/00000000000000000000000000000000-luajit/share/lua/5.1/?/init.lua".. ";" .. package.path package.cpath = "/nix/store/00000000000000000000000000000000-luajit/lib/lua/5.1/?.so".. ";" .. package.cpath -vim.g.loaded_node_provider=0;vim.g.loaded_perl_provider=0;vim.g.loaded_ruby_provider=0;vim.g.python3_host_prog='/nix/store/00000000000000000000000000000000-nvim-host-python3/bin/nvim-python3' +vim.g.loaded_node_provider=0;vim.g.loaded_perl_provider=0;vim.g.loaded_ruby_provider=0;vim.g.loaded_python3_provider=0 vim.cmd.source "/nix/store/00000000000000000000000000000000-init.vim" vim.g.Unicode_data_directory="/nix/store/00000000000000000000000000000000-vimplugin-unicode.vim/autoload/unicode" diff --git a/tests/modules/programs/neovim/plugin-config.nix b/tests/modules/programs/neovim/plugin-config.nix index bd234e95b..2e277f515 100644 --- a/tests/modules/programs/neovim/plugin-config.nix +++ b/tests/modules/programs/neovim/plugin-config.nix @@ -7,6 +7,8 @@ }: lib.mkIf config.test.enableBig { + home.stateVersion = "26.05"; + programs.neovim = { enable = true; extraConfig = '' @@ -17,6 +19,7 @@ lib.mkIf config.test.enableBig { { plugin = vim-commentary; # testing viml config + type = "viml"; config = '' let g:hmPlugins='HM_PLUGINS_CONFIG' '';