shada: Reassign some entry types to WantInfo and WantMarks

kShaDaWantMarks now loads only local file change list and file-local marks.
kShaDaWantInfo now loads global marks and jump list.
This commit is contained in:
ZyX
2015-07-05 02:37:37 +03:00
parent 42536abd33
commit 941ec54aa1
2 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ typedef long ShadaPosition;
/// Flags for shada_read_file and children
enum {
kShaDaWantInfo = 1, ///< Load non-mark information
kShaDaWantMarks = 2, ///< Load file marks
kShaDaWantMarks = 2, ///< Load local file marks and change list
kShaDaForceit = 4, ///< Overwrite info already read
kShaDaGetOldfiles = 8, ///< Load v:oldfiles.
kShaDaWantHeader = 16, ///< Do not skip header (shada_read_next_item).