Mercurial > vim
diff src/structs.h @ 26532:255bc9a08e58 v8.2.3795
patch 8.2.3795: too many #ifdefs
Commit: https://github.com/vim/vim/commit/739f13a55b4982efb37ebc9282e7f79975fff982
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 13 13:12:53 2021 +0000
patch 8.2.3795: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Dec 2021 14:15:03 +0100 |
parents | 4a1d2abc2016 |
children | 28745eec1dda |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -2763,14 +2763,12 @@ struct file_buffer pos_T b_last_insert; // where Insert mode was left pos_T b_last_change; // position of last change: '. mark -#ifdef FEAT_JUMPLIST /* * the changelist contains old change positions */ pos_T b_changelist[JUMPLISTSIZE]; int b_changelistlen; // number of active entries int b_new_change; // set by u_savecommon() -#endif /* * Character table, only used in charset.c for 'iskeyword' @@ -3730,7 +3728,6 @@ struct window_S pos_T w_pcmark; // previous context mark pos_T w_prev_pcmark; // previous w_pcmark -#ifdef FEAT_JUMPLIST /* * the jumplist contains old cursor positions */ @@ -3739,7 +3736,6 @@ struct window_S int w_jumplistidx; // current position int w_changelistidx; // current position in b_changelist -#endif #ifdef FEAT_SEARCH_EXTRA matchitem_T *w_match_head; // head of match list