diff options
Diffstat (limited to 'src/nvim/search.h')
-rw-r--r-- | src/nvim/search.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/search.h b/src/nvim/search.h index 09af34d87e..783756b781 100644 --- a/src/nvim/search.h +++ b/src/nvim/search.h @@ -84,6 +84,7 @@ typedef struct { /// Structure containing last search pattern and its attributes. typedef struct { char *pat; ///< The pattern (in allocated memory) or NULL. + size_t patlen; ///< The length of the patten (0 is pat is NULL). bool magic; ///< Magicness of the pattern. bool no_scs; ///< No smartcase for this pattern. Timestamp timestamp; ///< Time of the last change. |