runtime: :TOhtml workaround for missing 'vts' option #10960

Hot fix for 0.4
This commit should be reverted when &vts option is added.

close #10831
This commit is contained in:
Björn Linse
2019-09-06 21:10:46 +02:00
committed by Justin M. Keyes
parent 8db62ac57d
commit 754ea8d27e
2 changed files with 2 additions and 2 deletions

View File

@@ -1570,7 +1570,7 @@ while s:lnum <= s:end
if s:settings.expand_tabs
let s:offset = 0
let s:idx = stridx(s:expandedtab, "\t")
let s:tablist = split(&vts,',')
let s:tablist = exists("+vts") ? split(&vts,',') : []
if empty(s:tablist)
let s:tablist = [ &ts ]
endif