Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: remove support for deprecated features #210

Merged
merged 10 commits into from
Feb 11, 2023
88 changes: 0 additions & 88 deletions doc/laurel.md
Original file line number Diff line number Diff line change
Expand Up @@ -980,94 +980,6 @@ runtime.
:!git commit -m 'refactor(laurel): update macros'
```

### List of Deprecated Features

### v0.5.3

- In any laurel macro, quote `'` will no longer work as an identifer as the
result of sym/list at runtime is Lua function. Please remove the quotes in
that sense.

- In `augroup!`, `autocmd!`, and `au!`, the result of the first symbol of
callback in sym/list which matches `^<.+>` cannot be function at runtime:
with the pattern, callback is interpreted as Ex command. Please rename it.

- In `map!`, the result of the first symbol of callback in sym/list which
matches `^<.+>` cannot be function at runtime: with the pattern, callback is
interpreted as key sequence. Please rename it.

- In `augroup!`, `autocmd!`, and `au!`, list itself will no longer indicate
that the result is Ex command. To set Ex command, please insert `&vim`, or
rename its first symbol to match `^<.+>`.

- In `map!`, list itself will no longer indicate the result is key sequence.
To set key sequence, please insert `&vim`, or rename its first symbol to
match `^<.+>`.

- In `map!`, `augroup!`, `autocmd!`, and `au!`, special opts `<command>`,
`ex`, `<callback>`, and `cb` is no longer available. To set Lua function for
its callback, just set it; to set Ex command, please insert `&vim`, or name
its first symbol, for callback, to match `^<.+>`.

#### v0.5.2

- `augroup+`: Use [`augroup!`](#augroup) instead.

#### v0.5.1

- Symbol will no longer be an identifer as callback function for the macros,
[`map!`](#map!), [`autocmd!`](#autocmd), and so on; set `` `foobar `` to set
a symbol `foobar` as callback function instead.

#### v0.5.0

- `nmap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `vmap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `xmap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `smap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `omap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `imap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `lmap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `cmap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `tmap!`: Use [`map!`](#map) with `remap` option for corresponding mode
instead.
- `map-all!`: Use [`map!`](#map) with `remap` option for corresponding modes
instead.
- `map-input!`: Use [`map!`](#map) with `remap` option for corresponding modes
instead.
- `map-motion!`: Use [`map!`](#map) with `remap` option for corresponding
modes instead.
- `map-range!`: Use [`map!`](#map) with `remap` option for corresponding modes
instead.
- `map-operator!`: Use [`map!`](#map) with `remap` option for corresponding
modes instead.
- `map-textobj!`: Use [`map!`](#map) with `remap` option for corresponding
modes instead.
- `noremap!`: Use [`map!`](#map) instead.
- `nnoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `vnoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `xnoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `snoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `onoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `inoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `lnoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `cnoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `tnoremap!`: Use [`map!`](#map) for corresponding mode instead.
- `noremap-all!`: Use [`map!`](#map) for corresponding modes instead.
- `noremap-input!`: Use [`map!`](#map) for corresponding modes instead.
- `noremap-motion!`: Use [`map!`](#map) for corresponding modes instead.
- `noremap-range!`: Use [`map!`](#map) for corresponding modes instead.
- `noremap-operator!`: Use [`map!`](#map) for corresponding modes instead.
- `noremap-textobj!`: Use [`map!`](#map) for corresponding modes instead.

[set]: #setsetsetset-
[setglobal]: #setglobalsetglobalsetglobalsetglobal-
[setlocal]: #setlocalsetlocalsetlocalsetlocal-
Expand Down
Loading