From 6752ac49682d63dfc7960e518ecbd6517c88392d Mon Sep 17 00:00:00 2001 From: VVKot Date: Sat, 13 Feb 2021 19:06:37 +0000 Subject: vim-patch:8.1.0105: all tab stops are the same Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes vim/vim#2711) https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd --- src/nvim/options.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index f4c1ac9131..d12b31bcaf 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2998,6 +2998,23 @@ return { varname='p_ut', defaults={if_true={vi=4000}} }, + { + full_name='varsofttabstop', abbreviation='vsts', + short_desc=N_("list of numbers of spaces that uses while editing"), + type='string', list='comma', scope={'buffer'}, + vi_def=true, + varname='p_vsts', + defaults={if_true={vi=""}} + }, + { + full_name='vartabstop', abbreviation='vts', + short_desc=N_("list of numbers of spaces that in file uses"), + type='string', list='comma', scope={'buffer'}, + vi_def=true, + varname='p_vts', + redraw={'current_buffer'}, + defaults={if_true={vi=""}} + }, { full_name='verbose', abbreviation='vbs', short_desc=N_("give informative messages"), -- cgit