mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
tests/modules/performance/byte-compile-lua: fix tests
telescope-nvim doesn't have explicit dependency on plenary-nvim anymore. Use noice-nvim which have a dependency on nui-nvim instead.
This commit is contained in:
parent
014b143f6a
commit
9c39ea4ccb
1 changed files with 10 additions and 13 deletions
|
@ -248,8 +248,8 @@ in
|
|||
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
nvim-lspconfig
|
||||
# Depends on plenary-nvim
|
||||
telescope-nvim
|
||||
# Depends on nui-nvim
|
||||
noice-nvim
|
||||
# buildCommand plugin with python3 dependency
|
||||
((pkgs.writeTextDir "/plugin/test.lua" "vim.opt.tabstop = 2").overrideAttrs {
|
||||
passthru.python3Dependencies = ps: [ ps.pyyaml ];
|
||||
|
@ -263,8 +263,8 @@ in
|
|||
|
||||
-- Plugins are loadable
|
||||
require("lspconfig")
|
||||
require("telescope")
|
||||
require("plenary")
|
||||
require("noice")
|
||||
require("nui.popup")
|
||||
require("nvim-treesitter")
|
||||
|
||||
-- Python modules are importable
|
||||
|
@ -276,16 +276,13 @@ in
|
|||
test_rtp_file("plugin/lspconfig.lua", true)
|
||||
test_rtp_file("doc/lspconfig.txt", false)
|
||||
|
||||
-- telescope-nvim
|
||||
test_rtp_file("lua/telescope/init.lua", true)
|
||||
test_rtp_file("lua/telescope/builtin/init.lua", true)
|
||||
test_rtp_file("plugin/telescope.lua", true)
|
||||
test_rtp_file("autoload/health/telescope.vim", false)
|
||||
test_rtp_file("doc/telescope.txt", false)
|
||||
-- noice-nvim
|
||||
test_rtp_file("lua/noice/init.lua", true)
|
||||
test_rtp_file("lua/noice/config/init.lua", true)
|
||||
test_rtp_file("doc/noice.nvim.txt", false)
|
||||
|
||||
-- Dependency of telescope-nvim (plenary-nvim)
|
||||
test_rtp_file("lua/plenary/init.lua", true)
|
||||
test_rtp_file("plugin/plenary.vim", false)
|
||||
-- Dependency of noice-nvim (nui-nvim)
|
||||
test_rtp_file("lua/nui/popup/init.lua", true)
|
||||
|
||||
-- Test plugin
|
||||
test_rtp_file("plugin/test.lua", true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue