Skip to content

Releases: aileot/nvim-laurel

v0.7.3

02 Jun 08:18
66b87a8
Compare
Choose a tag to compare

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)

v0.7.2

23 May 21:34
2808c8d
Compare
Choose a tag to compare

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)

v0.7.1

14 Apr 06:09
3f14afd
Compare
Choose a tag to compare

0.7.1 (2024-04-14)

Bug Fixes

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

v0.7.0

14 Apr 02:48
b726061
Compare
Choose a tag to compare

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)

v0.6.2

07 Apr 07:16
2f8c980
Compare
Choose a tag to compare

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)

v0.6.1

16 Mar 07:00
913cfed
Compare
Choose a tag to compare

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)

v0.6.0

11 Feb 05:22
59d537e
Compare
Choose a tag to compare

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)

v0.5.6

09 Feb 14:33
4b75ea8
Compare
Choose a tag to compare

0.5.6 (2023-02-09)

Bug Fixes

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

v0.5.5

05 Feb 04:51
4fec95d
Compare
Choose a tag to compare

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)

v0.5.4

04 Feb 13:21
c0590bc
Compare
Choose a tag to compare

0.5.4 (2023-02-04)

Bug Fixes

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