23 lines
570 B
Markdown
23 lines
570 B
Markdown
|
# transformer.nvim
|
||
|
|
||
|
## Development
|
||
|
|
||
|
### Run tests
|
||
|
|
||
|
Running tests requires [plenary.nvim][plenary] to be checked out in the parent
|
||
|
directory of *this* repository. You can then run:
|
||
|
|
||
|
```bash
|
||
|
nvim --headless --noplugin -u tests/minimal.vim \
|
||
|
-c "PlenaryBustedDirectory tests/ {minimal_init = 'tests/minimal.vim'}"
|
||
|
```
|
||
|
|
||
|
Or if you want to run a single test file:
|
||
|
|
||
|
```bash
|
||
|
nvim --headless --noplugin -u tests/minimal.vim \
|
||
|
-c "PlenaryBustedDirectory tests/path_to_file.lua {minimal_init = 'tests/minimal.vim'}"
|
||
|
```
|
||
|
|
||
|
[plenary]: https://github.com/nvim-lua/plenary.nvim
|