Skip to content

Commit 292d598

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents e3bfd2b + 38623c8 commit 292d598

15 files changed

Lines changed: 512 additions & 305 deletions

File tree

nsis/gvim.nsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ Section "Vim executables and runtime files"
267267
SetOutPath $0\pack\dist\opt\swapmouse\plugin
268268
File ${VIMRT}\pack\dist\opt\swapmouse\plugin\*.*
269269

270+
SetOutPath $0\pack\dist\opt\termdebug\plugin
271+
File ${VIMRT}\pack\dist\opt\termdebug\plugin\*.*
272+
270273
SetOutPath $0\plugin
271274
File ${VIMRT}\plugin\*.*
272275

src/edit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ edit(
431431
#ifdef FEAT_CONCEAL
432432
/* Check if the cursor line needs redrawing before changing State. If
433433
* 'concealcursor' is "n" it needs to be redrawn without concealing. */
434-
conceal_check_cursur_line();
434+
conceal_check_cursor_line();
435435
#endif
436436

437437
#ifdef FEAT_MOUSE

src/ex_cmds2.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ profile_zero(proftime_T *tm)
12061206
static timer_T *first_timer = NULL;
12071207
static long last_timer_id = 0;
12081208

1209-
static long
1209+
long
12101210
proftime_time_left(proftime_T *due, proftime_T *now)
12111211
{
12121212
# ifdef WIN3264
@@ -1424,6 +1424,10 @@ check_due_timer(void)
14241424
next_due = this_due;
14251425
}
14261426
#endif
1427+
#ifdef FEAT_TERMINAL
1428+
/* Some terminal windows may need their buffer updated. */
1429+
next_due = term_check_timers(next_due, &now);
1430+
#endif
14271431

14281432
return current_id != last_timer_id ? 1 : next_due;
14291433
}

src/normal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7830,7 +7830,7 @@ n_start_visual_mode(int c)
78307830
{
78317831
#ifdef FEAT_CONCEAL
78327832
/* Check for redraw before changing the state. */
7833-
conceal_check_cursur_line();
7833+
conceal_check_cursor_line();
78347834
#endif
78357835

78367836
VIsual_mode = c;
@@ -7857,7 +7857,7 @@ n_start_visual_mode(int c)
78577857
#endif
78587858
#ifdef FEAT_CONCEAL
78597859
/* Check for redraw after changing the state. */
7860-
conceal_check_cursur_line();
7860+
conceal_check_cursor_line();
78617861
#endif
78627862

78637863
if (p_smd && msg_silent == 0)

src/proto/ex_cmds2.pro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ex_cmds2.c */
2-
int has_watchexpr (void);
2+
int has_watchexpr(void);
33
void do_debug(char_u *cmd);
44
void ex_debug(exarg_T *eap);
55
void dbg_check_breakpoint(exarg_T *eap);
@@ -19,6 +19,7 @@ float_T profile_float(proftime_T *tm);
1919
void profile_setlimit(long msec, proftime_T *tm);
2020
int profile_passed_limit(proftime_T *tm);
2121
void profile_zero(proftime_T *tm);
22+
long proftime_time_left(proftime_T *due, proftime_T *now);
2223
timer_T *create_timer(long msec, int repeat);
2324
long check_due_timer(void);
2425
timer_T *find_timer(long id);

src/proto/screen.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void redrawWinline(linenr_T lnum, int invalid);
1212
void update_curbuf(int type);
1313
int update_screen(int type_arg);
1414
int conceal_cursor_line(win_T *wp);
15-
void conceal_check_cursur_line(void);
15+
void conceal_check_cursor_line(void);
1616
void update_single_line(win_T *wp, linenr_T lnum);
1717
void update_debug_sign(buf_T *buf, linenr_T lnum);
1818
void updateWindow(win_T *wp);

src/proto/terminal.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ void write_to_term(buf_T *buffer, char_u *msg, channel_T *channel);
99
int term_job_running(term_T *term);
1010
int term_none_open(term_T *term);
1111
int term_try_stop_job(buf_T *buf);
12+
int term_check_timers(int next_due_arg, proftime_T *now);
1213
int term_in_normal_mode(void);
1314
void term_enter_job_mode(void);
1415
int send_keys_to_term(term_T *term, int c, int typed);

0 commit comments

Comments
 (0)