A culmination of various new important features introduced since the first release, alongside some fixes and improvements.
Features
- Add
:NeuralBuffer
- a full buffer completion playground. - Add
:NeuralExplain
- explains a visual selection of code line-by-line. - Add prompt input preprocessing configurable per filetype. Added default basic prompt preprocessing for the following filetypes:
- .cmake
- .cpp
- .css
- .go
- .lua
- .markdown
- .python
- .sh
- .sql
- .vim
- Add
:NeuralStop
to cancel a completion response mid-generation - Add configurable OpenAI model selection.
- Add support for OpenAI chat API models.
Fix
- Continue to write neural completion response to buffer after switching to another buffer.
- Fix issues with nui prompt cleanup on closing prompt.
Tech
- Improve Vimscript code test coverage.
- Disable macOS certificate verification as a workaround due to API request issues.
- Set
gpt-3.5-turbo-instruct
as the default model due to OpenAI deprication of older models.
Docs
- Improve documentation on environment variables with KDE and shell scripts.
- Add development documentation.