mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 13:58:18 +00:00
defaults: sessionoptions+=unix,slash #12760
Since1c3ca4f18f
,2c1d12d0be
, #7836, the "unix" and "slash" behavior of 'sessionoptions'/'viewoptions' is always enabled, and the flags are just ignored. There is no reason for that behavior to be configurable. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
@@ -493,7 +493,8 @@ static int put_view(
|
||||
|
||||
/// Writes commands for restoring the current buffers, for :mksession.
|
||||
///
|
||||
/// Legacy 'sessionoptions' flags SSOP_UNIX, SSOP_SLASH are always enabled.
|
||||
/// Legacy 'sessionoptions'/'viewoptions' flags SSOP_UNIX, SSOP_SLASH are
|
||||
/// always enabled.
|
||||
///
|
||||
/// @param dirnow Current directory name
|
||||
/// @param fd File descriptor to write to
|
||||
@@ -822,9 +823,9 @@ void ex_loadview(exarg_T *eap)
|
||||
|
||||
/// ":mkexrc", ":mkvimrc", ":mkview", ":mksession".
|
||||
///
|
||||
/// Legacy 'sessionoptions' flags SSOP_UNIX, SSOP_SLASH are always enabled.
|
||||
/// - SSOP_UNIX: line-endings are always LF
|
||||
/// - SSOP_SLASH: filenames are always written with "/" slash
|
||||
/// Legacy 'sessionoptions'/'viewoptions' flags are always enabled:
|
||||
/// - SSOP_UNIX: line-endings are LF
|
||||
/// - SSOP_SLASH: filenames are written with "/" slash
|
||||
void ex_mkrc(exarg_T *eap)
|
||||
{
|
||||
FILE *fd;
|
||||
|
Reference in New Issue
Block a user