diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-01 03:42:03 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-27 16:36:57 +0200 |
commit | 411a06c8b6e92ead6a14d407d7ca61a44fba5bb6 (patch) | |
tree | 68d5923d5ae5ff0e69107ab5f841ecfa76b8bbc8 /src/nvim/shada.h | |
parent | 997601d966dcc7b10c11eaae9c31bce2441c86da (diff) | |
download | rneovim-411a06c8b6e92ead6a14d407d7ca61a44fba5bb6.tar.gz rneovim-411a06c8b6e92ead6a14d407d7ca61a44fba5bb6.tar.bz2 rneovim-411a06c8b6e92ead6a14d407d7ca61a44fba5bb6.zip |
API: Context
Diffstat (limited to 'src/nvim/shada.h')
-rw-r--r-- | src/nvim/shada.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/shada.h b/src/nvim/shada.h index 49986ac1c1..2a945a06bc 100644 --- a/src/nvim/shada.h +++ b/src/nvim/shada.h @@ -1,6 +1,17 @@ #ifndef NVIM_SHADA_H #define NVIM_SHADA_H +#include <msgpack.h> + +/// Flags for shada_read_file and children +typedef enum { + kShaDaWantInfo = 1, ///< Load non-mark information + kShaDaWantMarks = 2, ///< Load local file marks and change list + kShaDaForceit = 4, ///< Overwrite info already read + kShaDaGetOldfiles = 8, ///< Load v:oldfiles. + kShaDaMissingError = 16, ///< Error out when os_open returns -ENOENT. +} ShaDaReadFileFlags; + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "shada.h.generated.h" #endif |