1 | #ifndef NVIM_SHADA_H |
2 | #define NVIM_SHADA_H |
3 | |
4 | #include <msgpack.h> |
5 | |
6 | /// Flags for shada_read_file and children |
7 | typedef enum { |
8 | kShaDaWantInfo = 1, ///< Load non-mark information |
9 | kShaDaWantMarks = 2, ///< Load local file marks and change list |
10 | kShaDaForceit = 4, ///< Overwrite info already read |
11 | kShaDaGetOldfiles = 8, ///< Load v:oldfiles. |
12 | kShaDaMissingError = 16, ///< Error out when os_open returns -ENOENT. |
13 | } ShaDaReadFileFlags; |
14 | |
15 | #ifdef INCLUDE_GENERATED_DECLARATIONS |
16 | # include "shada.h.generated.h" |
17 | #endif |
18 | #endif // NVIM_SHADA_H |
19 | |