mirror of
https://github.com/neovim/neovim.git
synced 2025-12-20 05:15:31 +00:00
vim-patch:9.1.0572: cannot specify tab page closing behaviour (#29682)
Problem: cannot specify tab page closing behaviour
(Gianluca Pacchiella)
Solution: Add the 'tabclose' option (LemonBoy).
fixes: vim/vim#5967
closes: vim/vim#15204
5247b0b92e
Co-authored-by: LemonBoy <thatlemon@gmail.com>
This commit is contained in:
@@ -694,7 +694,6 @@ EXTERN unsigned tpf_flags; ///< flags from 'termpastefilter'
|
||||
EXTERN char *p_tfu; ///< 'tagfunc'
|
||||
EXTERN char *p_spc; ///< 'spellcapcheck'
|
||||
EXTERN char *p_spf; ///< 'spellfile'
|
||||
EXTERN char *p_spk; ///< 'splitkeep'
|
||||
EXTERN char *p_spl; ///< 'spelllang'
|
||||
EXTERN char *p_spo; ///< 'spelloptions'
|
||||
EXTERN unsigned spo_flags;
|
||||
@@ -711,7 +710,12 @@ EXTERN unsigned swb_flags;
|
||||
#define SWB_NEWTAB 0x008
|
||||
#define SWB_VSPLIT 0x010
|
||||
#define SWB_USELAST 0x020
|
||||
EXTERN char *p_spk; ///< 'splitkeep'
|
||||
EXTERN char *p_syn; ///< 'syntax'
|
||||
EXTERN char *p_tcl; ///< 'tabclose'
|
||||
EXTERN unsigned tcl_flags; ///< flags from 'tabclose'
|
||||
#define TCL_LEFT 0x001
|
||||
#define TCL_USELAST 0x002
|
||||
EXTERN OptInt p_ts; ///< 'tabstop'
|
||||
EXTERN int p_tbs; ///< 'tagbsearch'
|
||||
EXTERN char *p_tc; ///< 'tagcase'
|
||||
|
||||
Reference in New Issue
Block a user