refactor!: rename 'jumpoptions' flag "unload" to "clean" (#30418)

Follow-up to #29347
This commit is contained in:
zeertzjq
2024-09-19 18:05:27 +08:00
committed by GitHub
parent 0fe4362e21
commit 7dbbaaec3f
9 changed files with 23 additions and 19 deletions

View File

@@ -4515,7 +4515,7 @@ return {
{
abbreviation = 'jop',
cb = 'did_set_jumpoptions',
defaults = { if_true = 'unload' },
defaults = { if_true = 'clean' },
deny_duplicates = true,
desc = [=[
List of words that change the behavior of the |jumplist|.
@@ -4529,7 +4529,7 @@ return {
|alternate-file| or using |mark-motions| try to
restore the |mark-view| in which the action occurred.
unload Remove unloaded buffers from the jumplist.
clean Remove unloaded buffers from the jumplist.
EXPERIMENTAL: this flag may change in the future.
]=],
expand_cb = 'expand_set_jumpoptions',