Mercurial > vim
comparison src/option.h @ 18646:394abd397e15 v8.1.2315
patch 8.1.2315: not always using the right window when jumping to an error
Commit: https://github.com/vim/vim/commit/539aa6b25eaea91dfd1a175cd053c0f259fa2e58
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 17 18:09:38 2019 +0100
patch 8.1.2315: not always using the right window when jumping to an error
Problem: Not always using the right window when jumping to an error.
Solution: Add the "uselast" flag in 'switchbuf'. (closes https://github.com/vim/vim/issues/1652)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Nov 2019 18:15:03 +0100 |
parents | 8b0114ffde2b |
children | 6e3dc2d630c2 |
comparison
equal
deleted
inserted
replaced
18645:d07c730f4fd2 | 18646:394abd397e15 |
---|---|
909 EXTERN int p_sol; // 'startofline' | 909 EXTERN int p_sol; // 'startofline' |
910 EXTERN char_u *p_su; // 'suffixes' | 910 EXTERN char_u *p_su; // 'suffixes' |
911 EXTERN char_u *p_sws; // 'swapsync' | 911 EXTERN char_u *p_sws; // 'swapsync' |
912 EXTERN char_u *p_swb; // 'switchbuf' | 912 EXTERN char_u *p_swb; // 'switchbuf' |
913 EXTERN unsigned swb_flags; | 913 EXTERN unsigned swb_flags; |
914 // Keep in sync with p_swb_values in optionstr.c | |
914 #define SWB_USEOPEN 0x001 | 915 #define SWB_USEOPEN 0x001 |
915 #define SWB_USETAB 0x002 | 916 #define SWB_USETAB 0x002 |
916 #define SWB_SPLIT 0x004 | 917 #define SWB_SPLIT 0x004 |
917 #define SWB_NEWTAB 0x008 | 918 #define SWB_NEWTAB 0x008 |
918 #define SWB_VSPLIT 0x010 | 919 #define SWB_VSPLIT 0x010 |
920 #define SWB_USELAST 0x020 | |
919 EXTERN char_u *p_syn; // 'syntax' | 921 EXTERN char_u *p_syn; // 'syntax' |
920 EXTERN long p_ts; // 'tabstop' | 922 EXTERN long p_ts; // 'tabstop' |
921 EXTERN int p_tbs; // 'tagbsearch' | 923 EXTERN int p_tbs; // 'tagbsearch' |
922 EXTERN char_u *p_tc; // 'tagcase' | 924 EXTERN char_u *p_tc; // 'tagcase' |
923 EXTERN unsigned tc_flags; // flags from 'tagcase' | 925 EXTERN unsigned tc_flags; // flags from 'tagcase' |