config: Expose tabstop option
This commit is contained in:
parent
aa95c05179
commit
e08a460543
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue