comparison src/proto/syntax.pro @ 12510:7a887dccd13a

patch 8.0.1133: syntax timeout not used correctly commit https://github.com/vim/vim/commit/f3d769a585040ac47f7054057758809024ef6377 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 22 13:44:56 2017 +0200 patch 8.0.1133: syntax timeout not used correctly Problem: Syntax timeout not used correctly. Solution: Do not pass the timeout to syntax_start() but set it explicitly. (Yasuhiro Matsumoto, closes #2139)
author Christian Brabandt <cb@256bit.org>
date Fri, 22 Sep 2017 13:45:05 +0200
parents 3f16cf18386c
children 635d7f5010b8
comparison
equal deleted inserted replaced
12509:1fd4594eb74a 12510:7a887dccd13a
1 /* syntax.c */ 1 /* syntax.c */
2 void syntax_start(win_T *wp, linenr_T lnum, proftime_T *syntax_tm); 2 void syn_set_timeout(proftime_T *tm);
3 void syntax_start(win_T *wp, linenr_T lnum);
3 void syn_stack_free_all(synblock_T *block); 4 void syn_stack_free_all(synblock_T *block);
4 void syn_stack_apply_changes(buf_T *buf); 5 void syn_stack_apply_changes(buf_T *buf);
5 void syntax_end_parsing(linenr_T lnum); 6 void syntax_end_parsing(linenr_T lnum);
6 int syntax_check_changed(linenr_T lnum); 7 int syntax_check_changed(linenr_T lnum);
7 int get_syntax_attr(colnr_T col, int *can_spell, int keep_state); 8 int get_syntax_attr(colnr_T col, int *can_spell, int keep_state);