Skip to content

v0.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Apr 02:48
b726061

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)