2024-04-18 16:47:37 +02:00
|
|
|
# transformer.nvim
|
|
|
|
|
2024-05-03 01:18:22 +02:00
|
|
|
## TODO
|
|
|
|
|
|
|
|
- [X] Get basic api calls working
|
2024-05-03 01:22:56 +02:00
|
|
|
- [ ] Add tests for api functions
|
2024-05-03 01:18:22 +02:00
|
|
|
- [ ] Set up GUI
|
|
|
|
- [ ] Set up in-place replacement functionality
|
|
|
|
- [ ] Set up prompt preconfiguration
|
|
|
|
- [ ] Set up chat saving
|
|
|
|
|
2024-05-03 01:22:56 +02:00
|
|
|
### Misc
|
|
|
|
|
|
|
|
- [ ] Rework the spinner functions
|
|
|
|
|
2024-04-18 16:47:37 +02:00
|
|
|
## 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
|