Releases: aileot/nvim-laurel
v0.7.3
v0.7.2
v0.7.1
v0.7.0
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*
atpattern
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 tolaurel
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 renamenvim-laurel
tolaurel
inrequire
d orimport
ed 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 runmake 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
v0.6.2
0.6.2 (2024-04-07)
Features
- autocmd: accept
buffer
with no next value inextra-opts
to set it to0
(#268) (4b4a82d) - command: accept
buffer
with no next value inextra-opts
to set it to0
(#268) (4b4a82d) - keymap: accept
buffer
with no next value inextra-opts
to set it to0
(#268) (4b4a82d) - keymap: add extra-opt
wait
againstnowait
(#264) (528d8ae) - option: add
let!
macro as a superset ofopt
,opt_local
,opt_global
,bo!
,wo!
, ... (#253) (e737141)
Bug Fixes
v0.6.1
v0.6.0
0.6.0 (2023-02-11)
⚠ BREAKING CHANGES
command!
drops support to resolve unnecessary quote on callbackmap!
no longer resolves quoted callback in itself.map!
no longer accept special options<command>
,ex
,<callback>
, andcb
.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>
, andcb
.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; useaugroup!
with{:clear false}
instead.