Skip to content

Releases: Iron-E/nvim-libmodal

v3.5.0

20 Mar 15:03
9fa22b0
Compare
Choose a tag to compare

Changelog

v3.5.0 - 2024-03-15

Features

  • (Mode) Show count in popup
  • Mode:exit (#30)

Bug Fixes

  • (Mode) Cursor position doesn't update because of getchar (#27)
  • (Mode) Textchanged events (#34)
  • (mode) Incompatible with vim.v.count (#26)
  • Virtual cursor edge cases (#32)

v3.4.3

11 Oct 18:00
45577b6
Compare
Choose a tag to compare

Changed

  • Help: use Statement highlight group for vimscript commands

Fixed

  • Check for escaped keys and handle them correctly (#23)
  • Help: remove debug code

Full Changelog: v3.4.0...v3.4.3

v3.4.0

28 Apr 21:08
875636e
Compare
Choose a tag to compare

Added

  • Show semantic meaning of Help output by using nvim_echo:
    cap

Changed

  • Help output is sorted alphabetically.

v3.3.0

22 Feb 21:09
e535c17
Compare
Choose a tag to compare

Changelog

Additions

Adapt to showmode option for Modes:

Emit ModeChanged when entering and exiting Modes:

lazy.nvim instructions:

More statusline integration examples:

Changes

Simplify Mode implementation (remove InputBytes metatable):

Improve workspace diagnostics:

Fixes

Layer mapping/unmapping:

Width of Popup wrong on first open:

v3.2.1

17 May 05:18
a696aec
Compare
Choose a tag to compare

Fixed an issue where Neovim would not restore keybindings by using vim.schedule.

v3.1.3

17 May 03:46
2411507
Compare
Choose a tag to compare

Now buffer-local mappings are actually fixed.

v3.2.0

17 May 04:02
bf7d0c2
Compare
Choose a tag to compare

You can now call Layer:is_active to tell whether a particular libmodal-Layer has been activated or not.

v3.1.1

16 May 21:09
49246ba
Compare
Choose a tag to compare

This release stabilizes the usage of buffer-local keymappings in a Layer:

libmodal.layer.enter(
	{
		n = { -- normal mode mappings
			gg = { -- remap `gg`
				rhs = 'G', -- map it to `G`
				buffer = true, -- only for this buffer; didn't work right before.
			},
		},
	},
	'<Esc>'
)

v3.0.0

26 Apr 15:19
fe1596e
Compare
Choose a tag to compare

The whole plugin has had a facelift. Most of the cruft (except for the API… I don't want to break backwards compatibility) has been removed. This means that the plugin is faster to require and easier to maintain than ever before (also easier to contribute to, if you are so inclined!)

The documentation has been improved as well. The examples should only use publicly-defined functions which can be found by running :h libmodal.

v1.0.0

03 Jan 17:44
7d1d39f
Compare
Choose a tag to compare
Merge branch 'feature/001--lua-runtime'