'redrawtime' exceeded, syntax highlighting disabled
'redrawtime' exceeded, syntax highlighting disabled解决语法高亮无法处理大文件
set redrawtime=10000其他
从文件开始进行高亮
autocmd BufEnter * :syntax sync fromstart反向高亮
参考
Last updated
'redrawtime' exceeded, syntax highlighting disabledset redrawtime=10000autocmd BufEnter * :syntax sync fromstartLast updated
if exists("c_minlines")
let b:c_minlines = c_minlines
else
if !exists("c_no_if0")
let b:c_minlines = 50 " #if 0 constructs can be long
else
let b:c_minlines = 15 " mostly for () constructs
endif
endif
exec "syn sync ccomment cComment minlines=" . b:c_minlineslet c_minlines=500syntax sync minlines=200