aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option_defs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-13 20:46:23 +0800
committerGitHub <noreply@github.com>2022-10-13 20:46:23 +0800
commit06dfedc87ab4cc575a503195a1358b2984e248c4 (patch)
tree6f436ff8a405b1bce4ef01729f3c5eb48865da3c /src/nvim/option_defs.h
parent4fbf41dfb4e4c6fd91c5a3d581c771bd1d6839d5 (diff)
downloadrneovim-06dfedc87ab4cc575a503195a1358b2984e248c4.tar.gz
rneovim-06dfedc87ab4cc575a503195a1358b2984e248c4.tar.bz2
rneovim-06dfedc87ab4cc575a503195a1358b2984e248c4.zip
vim-patch:9.0.0738: cannot suppress completion "scanning" messages (#20633)
Problem: Cannot suppress completion "scanning" messages. Solution: Add the "C" flag in 'shortmess'. (Bjorn Linse, closes vim/vim#11354) https://github.com/vim/vim/commit/91ccbad5ded8bcf2cc93a873ff2c3179b0c548c7
Diffstat (limited to 'src/nvim/option_defs.h')
-rw-r--r--src/nvim/option_defs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/option_defs.h b/src/nvim/option_defs.h
index 25ef1fc091..5470b66d6d 100644
--- a/src/nvim/option_defs.h
+++ b/src/nvim/option_defs.h
@@ -239,7 +239,7 @@ enum {
SHM_MOD = 'm', ///< Modified.
SHM_FILE = 'f', ///< (file 1 of 2)
SHM_LAST = 'i', ///< Last line incomplete.
- SHM_TEXT = 'x', ///< Tx instead of textmode.
+ SHM_TEXT = 'x', ///< tx instead of textmode.
SHM_LINES = 'l', ///< "L" instead of "lines".
SHM_NEW = 'n', ///< "[New]" instead of "[New file]".
SHM_WRI = 'w', ///< "[w]" instead of "written".
@@ -253,9 +253,10 @@ enum {
SHM_ATTENTION = 'A', ///< No ATTENTION messages.
SHM_INTRO = 'I', ///< Intro messages.
SHM_COMPLETIONMENU = 'c', ///< Completion menu messages.
+ SHM_COMPLETIONSCAN = 'C', ///< Completion scanning messages.
SHM_RECORDING = 'q', ///< Short recording message.
SHM_FILEINFO = 'F', ///< No file info messages.
- SHM_SEARCHCOUNT = 'S', ///< Search sats: '[1/10]'
+ SHM_SEARCHCOUNT = 'S', ///< Search stats: '[1/10]'
};
/// Represented by 'a' flag.
#define SHM_ALL_ABBREVIATIONS ((char[]) { \