Skip to content

Commit d057c8b

Browse files
committed
Move columnspace under FEAT_GUI_MACVIM
1 parent 6959bce commit d057c8b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/option.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ static struct vimoption options[] =
856856
(char_u *)&Columns, PV_NONE,
857857
{(char_u *)80L, (char_u *)0L} SCRIPTID_INIT},
858858
{"columnspace", "csp", P_NUM|P_VI_DEF|P_RCLR,
859-
#ifdef FEAT_GUI
859+
#ifdef FEAT_GUI_MACVIM
860860
(char_u *)&p_columnspace, PV_NONE,
861861
#else
862862
(char_u *)NULL, PV_NONE,
@@ -8992,7 +8992,7 @@ set_num_option(
89928992
}
89938993
#endif
89948994

8995-
#ifdef FEAT_GUI
8995+
#ifdef FEAT_GUI_MACVIM
89968996
else if (pp == &p_columnspace)
89978997
{
89988998
/* Recompute gui.char_width and resize the Vim window to keep the

src/option.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,6 @@ EXTERN char_u *p_lm; /* 'langmenu' */
623623
#endif
624624
#ifdef FEAT_GUI
625625
EXTERN long p_linespace; /* 'linespace' */
626-
EXTERN long p_columnspace; /* 'columnspace' */
627626
#endif
628627
#ifdef FEAT_LISP
629628
EXTERN char_u *p_lispwords; /* 'lispwords' */
@@ -645,6 +644,7 @@ EXTERN int p_macatsui; /* 'macatsui' */
645644
#ifdef FEAT_GUI_MACVIM
646645
EXTERN int p_macligatures; /* 'macligatures' */
647646
EXTERN int p_macthinstrokes; /* 'macthinstrokes' */
647+
EXTERN long p_columnspace; /* 'columnspace' */
648648
#endif
649649
EXTERN int p_magic; /* 'magic' */
650650
#ifdef FEAT_MBYTE

0 commit comments

Comments
 (0)