mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
Remove FEAT_SESSION
Support for :mksession command
This commit is contained in:
parent
9db774df44
commit
bf87a83058
@ -138,7 +138,6 @@
|
||||
#define FEAT_RIGHTLEFT
|
||||
#define FEAT_SCROLLBIND
|
||||
#define FEAT_SEARCH_EXTRA
|
||||
#define FEAT_SESSION
|
||||
#define FEAT_SMARTINDENT
|
||||
#define FEAT_SPELL
|
||||
#define FEAT_STL_OPT
|
||||
|
@ -7065,7 +7065,7 @@ static void close_redir(void)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(FEAT_SESSION) && defined(USE_CRNL)
|
||||
#ifdef USE_CRNL
|
||||
# define MKSESSION_NL
|
||||
static int mksession_nl = FALSE; /* use NL only in put_eol() */
|
||||
#endif
|
||||
|
@ -362,8 +362,6 @@ int get_real_state(void)
|
||||
return State;
|
||||
}
|
||||
|
||||
#if defined(FEAT_SESSION) || defined(MSWIN) || defined(FEAT_GUI_MAC) \
|
||||
|| defined(FEAT_GUI_GTK) || defined(PROTO)
|
||||
/*
|
||||
* Change to a file's directory.
|
||||
* Caller must call shorten_fnames()!
|
||||
@ -377,7 +375,6 @@ int vim_chdirfile(char_u *fname)
|
||||
*path_tail_with_sep(dir) = NUL;
|
||||
return os_chdir((char *)dir) == 0 ? OK : FAIL;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Change directory to "new_dir". Search 'cdpath' for relative directory names.
|
||||
|
Loading…
Reference in New Issue
Block a user