config: Expose tabstop option

This commit is contained in:
Akianonymus 2021-08-22 08:51:52 +05:30 committed by siduck76
parent aa95c05179
commit e08a460543
3 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,7 @@ M.options = {
permanent_undo = true, permanent_undo = true,
shiftwidth = 2, shiftwidth = 2,
smartindent = true, smartindent = true,
tabstop = 8, -- Number of spaces that a <Tab> in the file counts for
timeoutlen = 400, timeoutlen = 400,
relativenumber = false, relativenumber = false,
ruler = false, ruler = false,

View File

@ -31,9 +31,11 @@ opt.ruler = options.ruler
-- disable nvim intro -- disable nvim intro
opt.shortmess:append "sI" opt.shortmess:append "sI"
opt.signcolumn = "yes" opt.signcolumn = "yes"
opt.splitbelow = true opt.splitbelow = true
opt.splitright = true opt.splitright = true
opt.tabstop = options.tabstop
opt.termguicolors = true opt.termguicolors = true
opt.timeoutlen = options.timeoutlen opt.timeoutlen = options.timeoutlen
opt.undofile = options.permanent_undo opt.undofile = options.permanent_undo

View File

@ -54,6 +54,7 @@ M.options = {
permanent_undo = true, permanent_undo = true,
shiftwidth = 2, shiftwidth = 2,
smartindent = true, smartindent = true,
tabstop = 8, -- Number of spaces that a <Tab> in the file counts for
timeoutlen = 400, timeoutlen = 400,
relativenumber = false, relativenumber = false,
ruler = false, ruler = false,