summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2022-05-06 12:21:04 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-06 12:21:04 +0100
commite7d6dbc5721342e3d6b04cf285e4510b5569e707 (patch)
tree4cb238d111079f6caefb9f15a7612ea3d556aedd /src/structs.h
parent509142ab7a9db32114b6d0949722b9133c9c22f2 (diff)
downloadvim-git-e7d6dbc5721342e3d6b04cf285e4510b5569e707.tar.gz
patch 8.2.4882: cannot make 'breakindent' use a specific columnv8.2.4882
Problem: Cannot make 'breakindent' use a specific column. Solution: Add the "column" entry in 'breakindentopt'. (Christian Brabandt, closes #10362, closes #10325)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h
index 3135616dd..1a607c65e 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -3215,7 +3215,7 @@ struct diffblock_S
#endif
#define SNAP_HELP_IDX 0
-#define SNAP_AUCMD_IDX 1
+#define SNAP_AUCMD_IDX 1
#define SNAP_COUNT 2
/*
@@ -3312,7 +3312,8 @@ struct frame_S
// for first
// fr_child and fr_win are mutually exclusive
frame_T *fr_child; // first contained frame
- win_T *fr_win; // window that fills this frame
+ win_T *fr_win; // window that fills this frame; for a snapshot
+ // set to the current window
};
#define FR_LEAF 0 // frame is a leaf
@@ -3742,6 +3743,7 @@ struct window_S
int w_briopt_shift; // additional shift for breakindent
int w_briopt_sbr; // sbr in 'briopt'
int w_briopt_list; // additional indent for lists
+ int w_briopt_vcol; // indent for specific column
#endif
long w_scbind_pos;