Merge pull request #8995 from wsdjeg/patch-1

Make neovim timer ID start from 1
This commit is contained in:
Björn Linse
2018-09-13 21:17:42 +02:00
committed by GitHub

View File

@@ -496,7 +496,7 @@ typedef enum {
#define FNE_CHECK_START 2 /* find_name_end(): check name starts with
valid character */
static uint64_t last_timer_id = 0;
static uint64_t last_timer_id = 1;
static PMap(uint64_t) *timers = NULL;
/// Dummy va_list for passing to vim_snprintf