diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-09-06 21:10:46 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-06 12:10:46 -0700 |
commit | 754ea8d27e92fafeed4890ba5bc523dcbebecc76 (patch) | |
tree | 33bc8fbc9abb9ba9955f701729ad889b693f4213 /runtime/syntax | |
parent | 8db62ac57d230ee7c528e09c88ae0a2a52c5b5f2 (diff) | |
download | rneovim-754ea8d27e92fafeed4890ba5bc523dcbebecc76.tar.gz rneovim-754ea8d27e92fafeed4890ba5bc523dcbebecc76.tar.bz2 rneovim-754ea8d27e92fafeed4890ba5bc523dcbebecc76.zip |
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
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/2html.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/2html.vim b/runtime/syntax/2html.vim index 4a2d1d3959..91bb0e0d4a 100644 --- a/runtime/syntax/2html.vim +++ b/runtime/syntax/2html.vim @@ -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 |