mirror of
https://github.com/neovim/neovim.git
synced 2025-11-26 12:10:40 +00:00
Remove FEAT_AUTOCMD
Support for :autocmd command
This commit is contained in:
@@ -101,7 +101,6 @@
|
|||||||
|
|
||||||
#define FEAT_ARABIC
|
#define FEAT_ARABIC
|
||||||
#define FEAT_AUTOCHDIR
|
#define FEAT_AUTOCHDIR
|
||||||
#define FEAT_AUTOCMD
|
|
||||||
#define FEAT_BROWSE
|
#define FEAT_BROWSE
|
||||||
#define FEAT_BROWSE_CMD
|
#define FEAT_BROWSE_CMD
|
||||||
#define FEAT_BYTEOFF
|
#define FEAT_BYTEOFF
|
||||||
|
|||||||
@@ -5361,8 +5361,6 @@ void forward_slash(char_u *fname)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Code for automatic commands.
|
* Code for automatic commands.
|
||||||
*
|
|
||||||
* Only included when "FEAT_AUTOCMD" has been defined.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -6460,7 +6458,6 @@ int check_nomodeline(char_u **argp)
|
|||||||
* Search for a visible window containing the current buffer. If there isn't
|
* Search for a visible window containing the current buffer. If there isn't
|
||||||
* one then use "aucmd_win".
|
* one then use "aucmd_win".
|
||||||
* Set "curbuf" and "curwin" to match "buf".
|
* Set "curbuf" and "curwin" to match "buf".
|
||||||
* When FEAT_AUTOCMD is not defined another version is used, see below.
|
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
aucmd_prepbuf (
|
aucmd_prepbuf (
|
||||||
@@ -6546,7 +6543,6 @@ aucmd_prepbuf (
|
|||||||
/*
|
/*
|
||||||
* Cleanup after executing autocommands for a (hidden) buffer.
|
* Cleanup after executing autocommands for a (hidden) buffer.
|
||||||
* Restore the window as it was (if possible).
|
* Restore the window as it was (if possible).
|
||||||
* When FEAT_AUTOCMD is not defined another version is used, see below.
|
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
aucmd_restbuf (
|
aucmd_restbuf (
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Struct to save values in before executing autocommands for a buffer that is
|
* Struct to save values in before executing autocommands for a buffer that is
|
||||||
* not the current buffer. Without FEAT_AUTOCMD only "curbuf" is remembered.
|
* not the current buffer.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
buf_T *save_curbuf; /* saved curbuf */
|
buf_T *save_curbuf; /* saved curbuf */
|
||||||
|
|||||||
Reference in New Issue
Block a user