From 754ea8d27e92fafeed4890ba5bc523dcbebecc76 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Fri, 6 Sep 2019 21:10:46 +0200 Subject: 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 --- runtime/autoload/tohtml.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/autoload') diff --git a/runtime/autoload/tohtml.vim b/runtime/autoload/tohtml.vim index 2d874c690d..9c3d4d2d7e 100644 --- a/runtime/autoload/tohtml.vim +++ b/runtime/autoload/tohtml.vim @@ -779,7 +779,7 @@ func! tohtml#GetUserSettings() "{{{ if user_settings.no_pre == 0 call tohtml#GetOption(user_settings, \ 'expand_tabs', - \ &expandtab || &ts != 8 || &vts != '' || user_settings.number_lines || + \ &expandtab || &ts != 8 || (exists("+vts") && &vts != '') || user_settings.number_lines || \ (user_settings.dynamic_folds && !user_settings.no_foldcolumn)) else let user_settings.expand_tabs = 1 -- cgit