mirror of
https://github.com/HiPhish/rainbow-delimiters.nvim.git
synced 2024-09-16 14:24:05 +02:00
Set g:bustedprg in .nvimrc file to shim
This will set up the shim automatically for users who have the 'exrc' option enabled.
This commit is contained in:
parent
f760e60143
commit
03f06991d9
2 changed files with 10 additions and 0 deletions
2
.nvimrc
Normal file
2
.nvimrc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
" Use the custom shim as the busted binary for testing
|
||||||
|
let g:bustedprg='./test/busted'
|
|
@ -8,6 +8,7 @@
|
||||||
Testing
|
Testing
|
||||||
#######
|
#######
|
||||||
|
|
||||||
|
|
||||||
A test setup must meet the following criteria:
|
A test setup must meet the following criteria:
|
||||||
|
|
||||||
- Test definitions must be run by with Neovim as the Lua interpreter to get
|
- Test definitions must be run by with Neovim as the Lua interpreter to get
|
||||||
|
@ -49,6 +50,13 @@ End-to-end tests run in a separate Neovim instance which we control via RPC.
|
||||||
These are tests which mutate the state of the editor, such as adding
|
These are tests which mutate the state of the editor, such as adding
|
||||||
highlighting on changes. Execute `make e2e-test` to run all end to end tests.
|
highlighting on changes. Execute `make e2e-test` to run all end to end tests.
|
||||||
|
|
||||||
|
Running tests with Neotest-busted
|
||||||
|
=================================
|
||||||
|
|
||||||
|
To run tests the `g:bustedprg` variable must be set to `'./test/busted'`, which
|
||||||
|
is the path to the shim script. If the `exrc` option is set the variable will
|
||||||
|
be set automatically.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Design decisions
|
Design decisions
|
||||||
|
|
Loading…
Reference in a new issue