mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
'viewoptions': add "curdir" flag #7447
The flag enables the current local directory set by ":lcd" to be saved to views which is the current default behaviour. The option can be removed to disable this behaviour. closes #7435 vim-patch:8.0.1289
This commit is contained in:

committed by
Justin M. Keyes

parent
f185c739bc
commit
a6de144c3e
@@ -539,7 +539,7 @@ static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize",
|
||||
"localoptions", "options", "help", "blank",
|
||||
"globals", "slash", "unix",
|
||||
"sesdir", "curdir", "folds", "cursor",
|
||||
"tabpages", NULL};
|
||||
"tabpages", NULL };
|
||||
# endif
|
||||
# define SSOP_BUFFERS 0x001
|
||||
# define SSOP_WINPOS 0x002
|
||||
@@ -557,16 +557,17 @@ static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize",
|
||||
# define SSOP_FOLDS 0x2000
|
||||
# define SSOP_CURSOR 0x4000
|
||||
# define SSOP_TABPAGES 0x8000
|
||||
EXTERN char_u *p_sh; /* 'shell' */
|
||||
EXTERN char_u *p_shcf; /* 'shellcmdflag' */
|
||||
EXTERN char_u *p_sp; /* 'shellpipe' */
|
||||
EXTERN char_u *p_shq; /* 'shellquote' */
|
||||
EXTERN char_u *p_sxq; /* 'shellxquote' */
|
||||
EXTERN char_u *p_sxe; /* 'shellxescape' */
|
||||
EXTERN char_u *p_srr; /* 'shellredir' */
|
||||
EXTERN int p_stmp; /* 'shelltemp' */
|
||||
|
||||
EXTERN char_u *p_sh; // 'shell'
|
||||
EXTERN char_u *p_shcf; // 'shellcmdflag'
|
||||
EXTERN char_u *p_sp; // 'shellpipe'
|
||||
EXTERN char_u *p_shq; // 'shellquote'
|
||||
EXTERN char_u *p_sxq; // 'shellxquote'
|
||||
EXTERN char_u *p_sxe; // 'shellxescape'
|
||||
EXTERN char_u *p_srr; // 'shellredir'
|
||||
EXTERN int p_stmp; // 'shelltemp'
|
||||
#ifdef BACKSLASH_IN_FILENAME
|
||||
EXTERN int p_ssl; /* 'shellslash' */
|
||||
EXTERN int p_ssl; // 'shellslash'
|
||||
#endif
|
||||
EXTERN char_u *p_stl; // 'statusline'
|
||||
EXTERN int p_sr; // 'shiftround'
|
||||
|
Reference in New Issue
Block a user