From 15d213e4b6e33670cb50d472ad3f532245ebcc3b Mon Sep 17 00:00:00 2001 From: Georgi Kirilov Date: Mon, 17 Feb 2020 14:42:24 +0200 Subject: lua: add `redrawtime` option Upper bound lexing time and cancel highlighting if it is exceeded. --- man/vis.1 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'man/vis.1') diff --git a/man/vis.1 b/man/vis.1 index a60d4fb..eb6907f 100644 --- a/man/vis.1 +++ b/man/vis.1 @@ -1375,6 +1375,9 @@ Highlight a fixed column. .It Ic horizon Op Ar 32768 How many bytes back the lexer will look to synchronize parsing. . +.It Ic redrawtime Op Ar 1.0 +Maximum time (in seconds) to wait for syntax highlighting before aborting it. +. .It Ic theme Op Do default-16 Dc or Do default-256 Dc Color theme to use, name without file extension. . -- cgit v1.2.3