diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-25 12:21:35 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-09-25 18:23:15 +0200 |
commit | c3d1d9445c70846d43d1f091ee0762e16513e225 (patch) | |
tree | d9a5b5b964993519f86a4d70695451c35381302a /src/nvim/options.lua | |
parent | ed8b7aae8525625c17b72c3fac187c5aee8a2c5c (diff) | |
download | rneovim-c3d1d9445c70846d43d1f091ee0762e16513e225.tar.gz rneovim-c3d1d9445c70846d43d1f091ee0762e16513e225.tar.bz2 rneovim-c3d1d9445c70846d43d1f091ee0762e16513e225.zip |
refactor(options)!: graduate some more shortmess flags
A lot of updated places in the docs were already incorrect since long
since they did not reflect the default behaviour.
"[dos format]" could've been argued being better for discoverability
but that ship has already sailed as it is no longer displayed by default.
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index f0e4a5a1f4..429a70eb38 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -7239,22 +7239,17 @@ return { { abbreviation = 'shm', cb = 'did_set_shortmess', - defaults = { if_true = 'ilnxtToOCF' }, + defaults = { if_true = 'ltToOCF' }, desc = [=[ This option helps to avoid all the |hit-enter| prompts caused by file messages, for example with CTRL-G, and to avoid some other messages. It is a list of flags: flag meaning when present ~ - i use "[noeol]" instead of "[Incomplete last line]" *shm-i* l use "999L, 888B" instead of "999 lines, 888 bytes" *shm-l* m use "[+]" instead of "[Modified]" *shm-m* - n use "[New]" instead of "[New File]" *shm-n* r use "[RO]" instead of "[readonly]" *shm-r* w use "[w]" instead of "written" for file write message *shm-w* and "[a]" instead of "appended" for ':w >> file' command - x use "[dos]" instead of "[dos format]", "[unix]" *shm-x* - instead of "[unix format]" and "[mac]" instead of "[mac - format]" a all of the above abbreviations *shm-a* o overwrite message for writing a file with subsequent *shm-o* |