All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.3.1 - 2021-09-29
- More logging for
curl
calls when debug logging is enabled
- Selections made in visual lines mode ("V") should now work (thanks @naefl for debugging)
- No longer necessary to select past the end of the final line in visual mode ("v")
0.3.0 - 2021-09-20
- Added functions to get the current version e.g.
require('nvim-magic').version()
- Prefixed Lua modules that are meant to be private with
_
- Gave
nvim-magic-openai
its own logger
- Running stylua in CI (thanks @abatilo)
0.2.3 - 2021-09-18
- Predefined
<Plug>
commands to make mapping custom key sequences to flows easier
0.2.2 - 2021-09-16
- Vim notifications display buffer filename if possible
- Use lustache for filling out prompt templates
0.2.1 - 2021-09-14
- Disable requesting compressed HTTP responses on Windows as possibly it is less likely to be supported by Windows'
curl
s
- Send an appropriate Vim notification in more cases when
curl
terminates with nonzero exit code, rather than raising a plenary.path error - Prevent logspam when OpenAI returns a non-200 HTTP status that was caused by a timer not being closed properly
0.2.0 - 2021-09-14
- Use Vim notifications for info messages instead of echoing them
- Vendor forked curl code from plenary.nvim so that upstream plenary.nvim can be required as a dependency without issue
- No longer freeze up Neovim while completions are being fetched (#1)
- Using a default keymap in a buffer should work first time rather than just deselecting the current visual selection (#2)
- OpenAI API key should no longer leak in an error message when
curl
times out, rather a generic request timed out error message is shown