diff options
author | Christian Brabandt <cb@256bit.org> | 2022-12-16 16:41:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-16 16:41:23 +0000 |
commit | 9aee8ec400fe617f6d82441c46a22d0cef6fa3e6 (patch) | |
tree | d8ef22c2177d59f1196dc7d82c540612eff3813c /src/option.h | |
parent | 4ab1f4a32f7e0fcafa8f542429f1f6c47dcd5d2c (diff) |
patch 9.0.1064: code for making 'shortmess' temporarily empty is repeatedv9.0.1064
Problem: Code for making 'shortmess' temporarily empty is repeated.
Solution: Add functions for making 'shortmess' empty and restoring it.
(Christian Brabandt, closes #11709)
Diffstat (limited to 'src/option.h')
-rw-r--r-- | src/option.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/option.h b/src/option.h index a11fa4167b..aa55bfbac2 100644 --- a/src/option.h +++ b/src/option.h @@ -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 |