Releases: SidOfc/carbon.nvim
v0.8.7
What's Changed
- BREAKING: general refactoring and remove
util.push_guicursor
andutil.pop_guicursor
by @SidOfc in https://github.com/SidOfc/carbon.nvim/pull/**31** - Fix: double buffer.process_enter call on startup
- Fix: treat spell the same as wrap and fillchars
Full Changelog: v0.8.6...v0.8.7
v0.8.6
v0.8.5
What's Changed
- BREAKING: remove
buffer.cancel_synchronization()
by @SidOfc in #27 - Improvement: replace vim.fn.readdir with util.scandir implementation by @SidOfc in #26
- Fix: broken highlight reset on delete cancel due to regression in #25 by @SidOfc in #28
Description
Fixes a regression which broke clearing of delete highlighting on cancel.
Also removed a redundant method and implemented a utility method alternative
which uses vim.loop.fs_scan* instead of vim.fn.readdir.
Full Changelog: v0.8.4...v0.8.5
v0.8.4
v0.8.3
What's Changed
- BREAKING: refactor
buffer.create
by @SidOfc in #23 - BREAKING: make
buffer.process_insert_move
an inaccessible local function - BREAKING: make
buffer.create_confirm
an inaccessible local function - BREAKING: make
buffer.create_cancel
an inaccessible local function - BREAKING: make
buffer.create_reset
an inaccessible local function - BREAKING: make
buffer.set_lines
no longer accepts{strict}
as an argument (:h carbon-buffer-set-lines
) - Add:
util.unmap
(:h carbon-util-unmap
) - Add:
util.clear_autocmd
(:h carbon-util-clear-autocmd
) - Add:
util.last_index_of
(:h carbon-util-last-index-of
)
Description
The main idea behind this refactor was to completely eliminate the need to use a
module-level local table variable (data
) to store create-mode state variables.
This has now been properly encapsulated in a local context which is only accessible
to relevant functions.
Additionally, the related buffer.create_*
methods have been replaced by local
functions since they no longer rely on module-level locals but rather receive a
ctx
object which now carries the create-mode state variables.
Finally, in Carbon buffers, <cr>
and <esc>
mappings and the CursorMovedI
autocmd are now only bound while create-mode is active and automatically unbound
when cancelling / confirming creation.
Full Changelog: v0.8.2...v0.8.3
v0.8.2
v0.8.1
v0.8.0
v0.7.0
What's Changed
- BREAKING: Drop support for Neovim versions below 0.7 by @SidOfc in #19
- BREAKING:
util.autocmd
usesnvim_create_autocmd
(>= 0.7.0) internally by @SidOfc in b4b57f7 - BREAKING:
util.command
usesnvim_create_user_command
(>= 0.7.0) internally by @SidOfc in e25a2d6 - BREAKING:
util.map
uses builtinoptions.callback
fromnvim_*_keymap
(>= 0.7.0) internally by @SidOfc in e25a2d6 - BREAKING: Removed
util.indexed_callback
by @SidOfc in 54568a4 - Change: Removed
<esc>
fromsettings.actions.quit
default by @SidOfc in 8894cba - Fix: Typo in documentation by @SidOfc in 2f0eaf7
Full Changelog: v0.6.1...v0.7.0