robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. Keyesfeat(input)!: CmdAtom event #4129764a301184e

master
831 B18 linesraw
1#pragma once
2
3#include "nvim/api/private/defs.h"  // IWYU pragma: keep
4#include "nvim/os/time_defs.h"  // IWYU pragma: keep
5
6/// Flags for shada_read_file and children
7typedef 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  kShaDaNanos = 32,         ///< Timestamps are ns (Context), instead of seconds (shada legacy).
14  kShaDaNoHistory = 64,     ///< Skip cmdline/search history merge (perf: O(history) per read).
15  kShaDaNoOpt = 128,        ///< Ignore 'shada': only these flags decide what is read.
16} ShaDaReadFileFlags;
17
18#include "shada.h.generated.h"