Skip to content

Latest commit

 

History

History
180 lines (103 loc) · 13.4 KB

CHANGELOG.md

File metadata and controls

180 lines (103 loc) · 13.4 KB

Changelog

0.7.3 (2024-05-26)

Features

  • extra-opts: deprecate old :<buffer> options; use :buffer options instead (#291) (12797c5)

Performance Improvements

  • keymap: define multi-mode mappings in do list instead of table (#288) (74db65e)

0.7.2 (2024-05-23)

Bug Fixes

  • extra-opts: do not skip the next option after self-sufficient key (#284) (39302c4)
  • highlight: remove link attribute restriction at compile time (#287) (0e20ac8)
  • keymap: let unmap! with multi modes (#280) (5f5e66d)

0.7.1 (2024-04-14)

Bug Fixes

  • module: temporarily restore nvim-laurel.macros for more secure updates (#281) (#282) (7b2c3ba)

0.7.0 (2024-04-14)

⚠ BREAKING CHANGES

  • option: The previously deprecated macros (set+, set^, set-, setlocal+, setlocal^, setlocal-, setglobal+, setglobal^, setglobal-, go+, go^, go-) have been removed according to the "less" design principle of this project. Please make your own wrappers if you still need them: some sample snippets are available in Cookbook.

  • autocmd: autocmd macros now interpret the symbol * at pattern position as an alias of [:*]. Since the symbol * is too unlikely to be overridden, this change is applied without deprecation notice.

  • module: The module prefix nvim-laurel is renamed to laurel following the nvim community convention.

    Just in case, please make sure to backup your nvim config files via git, cp, etc., before updating the module name. The following snippet is an example oneliner shell script to rename nvim-laurel to laurel in required or imported via table, and :update at once on nvim Ex command.

    nvim -u NONE +'exe "argadd" glob(stdpath("config") .."**/*.fnl")->substitute("\n"," ","ge")' +'argdo %s;} :\zsnvim-\zelaurel;;e|%s;(require :\zsnvim-\zelaurel;;e|up' +qa

    Tested only on bash. The script might not work as expected on other shells.

    (Alternatively, you can run make fnl/nvim-laurel/ at nvim-laurel project root if you doubt about updating the module name.)

Features

  • autocmd: make au!/autocmd! macro interpret the symbol * in pattern as an alias of ["*"] (#254) (8b7b6da)

Code Refactoring

  • module: rename module nvim-laurel to laurel (#266) (fad4d55)
  • option: remove deprecated macros set+, set-, ... (#273) (95e8070)

0.6.2 (2024-04-07)

Features

  • autocmd: accept buffer with no next value in extra-opts to set it to 0 (#268) (4b4a82d)
  • command: accept buffer with no next value in extra-opts to set it to 0 (#268) (4b4a82d)
  • keymap: accept buffer with no next value in extra-opts to set it to 0 (#268) (4b4a82d)
  • keymap: add extra-opt wait against nowait (#264) (528d8ae)
  • option: add let! macro as a superset of opt, opt_local, opt_global, bo!, wo!, ... (#253) (e737141)

Bug Fixes

  • command: accept :count and :range without value to set default option value (#267) (949686a)

0.6.1 (2024-03-16)

Features

  • autocmd: add option &default-opts (#227) (bc019ed)
  • command: add option &default-opts (#227) (bc019ed)
  • keymap: add option &default-opts (#227) (bc019ed)
  • highlight: add option &default-opts (#227) (bc019ed)
  • option: detect infix flag in symbol to append, prepend, ...; deprecate :foo+, ..., format and set+, ..., macros (#233) (669bdf4)

Bug Fixes

  • keymap: correct docstring of map! macro (#244) (b982180)

0.6.0 (2023-02-11)

⚠ BREAKING CHANGES

  • command! drops support to resolve unnecessary quote on callback
  • map! no longer resolves quoted callback in itself.
  • map! no longer accept special options <command>, ex, <callback>, and cb.
  • map! no longer interpret callback of which the first symbol matches ^<.+> as Lua function, but as Ex command.
  • map! interprets callback in list as Lua function unless either symbol &vim precedes it or the first symbol of the list matches pattern ^<.+>.
  • augroup! & autocmd!/au! no longer resolves quoted callback in itself.
  • augroup! & autocmd!/au! no longer accept special options <command>, ex, <callback>, and cb.
  • augroup! & autocmd!/au! no longer interpret callback of which the first symbol matches ^<.+> as Lua function, but as key sequence.
  • augroup! & autocmd!/au! interprets callback in list as Lua function unless either symbol &vim precedes it or the first symbol of the list matches pattern ^<.+>.
  • map! wrapper macros, nmap!, vmap!, ..., are removed.
  • augroup+ is removed; use augroup! with {:clear false} instead.

Code Refactoring

  • remove support for deprecated features (#210) (c7f4069)

0.5.6 (2023-02-09)

Bug Fixes

  • option: optimize values for short forms: fo and shm (#223) (1d3046b)

0.5.5 (2023-02-05)

Bug Fixes

  • autocmd: filter non-deprecated format ^<.+> not to deprecate (#217) (3a4b048)
  • keymap: filter non-deprecated format ^<.+> not to deprecate (#214) (2812d82)

0.5.4 (2023-02-04)

Bug Fixes

  • option: detect sym/list in table not to concat at compile time (#212) (cf4dccc)

0.5.3 (2023-02-04)

Features

  • autocmd: deprecate ^<.+> pattern in sym/list to set Lua callback (#197) (5b970cf)
  • autocmd: deprecate list to set Ex command (#203) (c1d7bbf)
  • autocmd: deprecate quoted callback format (#202) (fd0ba7c), closes #190
  • autocmd: deprecate special opts <command>, ex, <callback>, and cb (#200) (cea9d45), closes #188
  • autocmd: detect symbol &vim to set Vim Ex command (#193) (80f482b)
  • command: deprecate quoted callback format (#207) (70f253b), closes #205
  • keymap: deprecate ^<.+> pattern in sym/list to set Lua callback (#199) (69b3cef)
  • keymap: deprecate list for key sequence (#204) (39eb8dc)
  • keymap: deprecate quoted callback format (#206) (2a2a57a), closes #191
  • keymap: deprecate special opts <command>, ex, <callback> and cb (#201) (8a005ed), closes #189
  • keymap: detect symbol &vim to set key sequence (#195) (b39b383)

0.5.2 (2023-01-24)

Features

  • autocmd: make augroup! accept api-opts; deprecate augroup+ (#178) (1546d9b)

0.5.1 (2022-12-20)

Features

  • extract callback in quoted symbol/list; deprecate callback in symbol (#150) (98f0dcd)

0.5.0 (2022-12-13)

⚠ BREAKING CHANGES

  • keymap: map! sets keymap non-recursively by default; map! requires remap option to set recursive mapping

Code Refactoring

  • keymap: make map! macro non-recursively by default, and deprecate its wrappers and noremap! (#144) (d086443)