test: replace plenary with plentest.nvim

Problem: plenary.nvim as test runner is overkill and no longer
maintained.

Solution: Replace with a minimal fork based on Neovim API and vendored
luassert.
This commit is contained in:
Christian Clason
2026-03-17 10:12:15 +01:00
committed by Christian Clason
parent 2cc172c28e
commit 2b50ab5ccb
2 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
vim.o.rtp = vim.o.rtp .. ',.,' .. os.getenv('PLENARY')
vim.cmd.runtime({ 'plugin/plenary.vim', bang = true })
vim.o.rtp = os.getenv('PLENTEST') .. ',.,' .. vim.o.rtp
vim.o.rtp = vim.fn.stdpath('data') .. '/site,' .. vim.o.rtp
vim.cmd.runtime({ 'plugin/query_predicates.lua', bang = true })
vim.cmd.runtime({ 'plugin/filetypes.lua', bang = true })