mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-09-21 21:15:48 +00:00
added busted.lua
This commit is contained in:
parent
6c3bda4aca
commit
8934a7f6a3
3 changed files with 17 additions and 0 deletions
1
.busted
1
.busted
|
@ -1,5 +1,6 @@
|
|||
return {
|
||||
_all = {
|
||||
lua = "./tests/bootstrap-busted.sh",
|
||||
coverage = false,
|
||||
},
|
||||
default = {
|
||||
|
|
2
tests/bootstrap-busted.sh
Executable file
2
tests/bootstrap-busted.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
nvim -l ./tests/busted.lua $@
|
14
tests/busted.lua
Normal file
14
tests/busted.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env -S nvim -l
|
||||
|
||||
vim.env.LAZY_STDPATH = ".tests"
|
||||
load(vim.fn.system("cat $(pwd)/bootstrap.lua"))()
|
||||
--
|
||||
-- -- Setup lazy.nvim
|
||||
require("lazy.minit").busted({
|
||||
spec = {
|
||||
"LazyVim/starter",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"williamboman/mason.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue