Merge #8329 'API: Make nvim_set_option() update :verbose set …'

This commit is contained in:
Justin M. Keyes
2018-05-11 10:08:09 +02:00
11 changed files with 134 additions and 70 deletions

View File

@@ -3,6 +3,7 @@
#include "nvim/types.h"
#include "nvim/macros.h" // For EXTERN
#include "eval/typval.h" // For scid_T
// option_defs.h: definition of global variables for settable options
@@ -819,4 +820,10 @@ enum {
#define SB_MAX 100000 // Maximum 'scrollback' value.
/// Stores an identifier of a script or channel that last set an option.
typedef struct {
scid_T script_id; /// Script ID or one of SID_* special values.
uint64_t channel_id; /// Only used when script_id is SID_API_CLIENT.
} LastSet;
#endif // NVIM_OPTION_DEFS_H