diff options
author | Gregory Anders <greg@gpanders.com> | 2023-09-24 09:09:18 -0500 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2023-09-24 09:09:18 -0500 |
commit | 6fb1e0d499b33534152f09744f967f355a9e2a24 (patch) | |
tree | 46b79a3966bf6c9a103d4a32c379bcec7c9308e0 | |
parent | 61ecb3e16c22eec9cb8eb77f76d9e8ddfc3601bc (diff) | |
download | rneovim-6fb1e0d499b33534152f09744f967f355a9e2a24.tar.gz rneovim-6fb1e0d499b33534152f09744f967f355a9e2a24.tar.bz2 rneovim-6fb1e0d499b33534152f09744f967f355a9e2a24.zip |
docs: remove "f" from default 'shortmess' value
The "f" flag was removed in f7da4722570617bd8927e7aa533fa9a608c45bba.
The value of the "f" flag is no longer listed in the 'shortmess'
description and it cannot be disabled, so having it in the default value
is pointless and confusing.
-rw-r--r-- | runtime/doc/options.txt | 2 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 2 | ||||
-rw-r--r-- | src/nvim/options.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index b26c181f28..5e91bd8666 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -5383,7 +5383,7 @@ A jump table for the options with a short description can be found at |Q_op|. function to get the effective shiftwidth value. *'shortmess'* *'shm'* *E1336* -'shortmess' 'shm' string (default "filnxtToOCF") +'shortmess' 'shm' string (default "ilnxtToOCF") global 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. diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index f8a51da9b5..461bf95610 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -5719,7 +5719,7 @@ vim.bo.sw = vim.bo.shiftwidth --- shm=at Abbreviation, and truncate message when necessary. --- --- @type string -vim.o.shortmess = "filnxtToOCF" +vim.o.shortmess = "ilnxtToOCF" vim.o.shm = vim.o.shortmess vim.go.shortmess = vim.o.shortmess vim.go.shm = vim.go.shortmess diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 258145e85e..f0e4a5a1f4 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -7239,7 +7239,7 @@ return { { abbreviation = 'shm', cb = 'did_set_shortmess', - defaults = { if_true = 'filnxtToOCF' }, + defaults = { if_true = 'ilnxtToOCF' }, 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. |