1
0
forked from aniani/vim

patch 9.0.1064: code for making 'shortmess' temporarily empty is repeated

Problem:    Code for making 'shortmess' temporarily empty is repeated.
Solution:   Add functions for making 'shortmess' empty and restoring it.
            (Christian Brabandt, closes #11709)
This commit is contained in:
Christian Brabandt
2022-12-16 16:41:23 +00:00
committed by Bram Moolenaar
parent 4ab1f4a32f
commit 9aee8ec400
7 changed files with 111 additions and 17 deletions

View File

@@ -271,6 +271,8 @@ typedef enum {
#define SHM_SEARCHCOUNT 'S' // search stats: '[1/10]'
#define SHM_POSIX "AS" // POSIX value
#define SHM_ALL "rmfixlnwaWtToOsAIcCqFS" // all possible flags for 'shm'
#define SHM_LEN 30 // max length of all flags together
// plus a NUL character
// characters for p_go:
#define GO_TERMINAL '!' // use terminal for system commands