Skip to content

Latest commit

 

History

History
200 lines (102 loc) · 9.7 KB

File metadata and controls

200 lines (102 loc) · 9.7 KB

Changelog

6.4.3 (2026-03-12)

Bug Fixes

  • undefined on_enter/on_leave called if only one of them supplied (c877c04)

6.4.2 (2025-01-06)

Bug Fixes

  • respect neovim version for calling vim.validate (#41) (013e9ba)

6.4.1 (2024-12-30)

Bug Fixes

  • invalid menber name for table initialize (#38) (39fe80c)

6.4.0 (2024-12-30)

Features

6.3.0 (2024-12-28)

Features

  • add hock as shorthand for SubmodeEnterPost and SubmodeLeavePost (#34) (9eeb726)

6.2.0 (2024-06-18)

Features

  • add types to arguments of register, and validate it (597c2a7)

6.1.0 (2024-06-14)

Features

  • add default to opts as alternative of default in create (1d520f9)

6.0.0 (2024-06-13)

⚠ BREAKING CHANGES

  • remove default and seal, and change signature of submode.create (#26)

Features

  • remove default and seal, and change signature of submode.create (#26) (e2f3323)

5.3.0 (2024-06-13)

Features

  • create accept callbacks and automatically seal submode (#24) (de89045)
  • add submode.seal to refuse submode.default (#21) (076d7cd)

5.2.0 (2024-06-13)

Features

  • add submode.default for define default mapping (#18) (54d3df4)

5.1.0 (2024-06-13)

Features

  • improve error and warning messages (10e036e)

5.0.1 (2024-06-13)

Bug Fixes

  • abort when submode overriding failed (2a6e583)

5.0.0 (2024-06-13)

⚠ BREAKING CHANGES

  • emit user events and remove enter_cb and leave_cb

Features

  • emit user events and remove enter_cb and leave_cb (114bba2)

4.1.0 (2024-06-13)

Features

  • accept vim.keymap.del compatible options at submode.del (28686c6)

4.0.0 (2024-06-13)

⚠ BREAKING CHANGES

  • remove setup as this plugin doesn't require no config

Features

  • remove setup as this plugin doesn't require no config (bb9b69f)

3.0.0 (2024-06-13)

⚠ BREAKING CHANGES

  • remove config and add options to submode

Features

  • remove config and add options to submode (80498f2)

2.1.0 (2024-06-13)

Features

  • set and del works in submode (88e2402)

Bug Fixes

  • add validation when register default mappings (6322f49)
  • validate opts as optional (1f6ef0c)

2.0.0 (2024-06-13)

⚠ BREAKING CHANGES

  • change behavior of submode.create

Features

  • change behavior of submode.create (214757c)

1.1.0 (2024-06-13)

Features

  • add set and del, and deprecate register (bd7fcc0)

1.0.0 (2024-06-12)

⚠ BREAKING CHANGES

  • don't pass lhs to rhs

Features

  • 'when_mapping_conflict' now accept 'keep'. (c2b7b41)
  • add 'mode_name' to customize return value of submode.mode() (d53d852)
  • add 'show_mode'. (2743c25)
  • add 'when_submode_exist' to config. (d6ce018)
  • can detect mapping confliction and change its behavior. (20cbd30)
  • don't pass lhs to rhs (f3205a3)
  • register leave key to global (566153d)
  • submode.create() can now register mappings. (75382b9)
  • support neovim 0.9.0 (de97e6f)
  • user can change behavior when key conflict. (1381824)
  • user can fire callback when enter/leave submode. (0086508)
  • user can pass list of key to lhs of mappings. (a089da0)

Bug Fixes

  • add assertion when enter submode (eee9c25)
  • add missing validation (196f545)
  • capture buffers which doesn't belong to window (8526f76)
  • check the buffer is valid or not when restore buffer-local keymap (af4a804)
  • correct return type (0912c97)
  • ensure to use callbacks which the submode have (f3de213)
  • register leave keys to all buffers (#3) (04a474b)
  • remove unused import (dacdbd3)
  • remove warnings (f5ae44c)
  • replace undefined function with builtin function (be9e243)
  • suppress warings when using neodev.nvim (b53d184)
  • suppress warning (c14327d)
  • use correct type (61140cc)