From e08a46054373c891c522b72137a9e46f7458875c Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Sun, 22 Aug 2021 08:51:52 +0530 Subject: [PATCH] config: Expose tabstop option --- lua/chadrc.lua | 1 + lua/core/options.lua | 2 ++ lua/default_config.lua | 1 + 3 files changed, 4 insertions(+) diff --git a/lua/chadrc.lua b/lua/chadrc.lua index 8a35f0f..0f7ad7e 100644 --- a/lua/chadrc.lua +++ b/lua/chadrc.lua @@ -52,6 +52,7 @@ M.options = { permanent_undo = true, shiftwidth = 2, smartindent = true, + tabstop = 8, -- Number of spaces that a in the file counts for timeoutlen = 400, relativenumber = false, ruler = false, diff --git a/lua/core/options.lua b/lua/core/options.lua index 5882103..149d556 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -31,9 +31,11 @@ opt.ruler = options.ruler -- disable nvim intro opt.shortmess:append "sI" + opt.signcolumn = "yes" opt.splitbelow = true opt.splitright = true +opt.tabstop = options.tabstop opt.termguicolors = true opt.timeoutlen = options.timeoutlen opt.undofile = options.permanent_undo diff --git a/lua/default_config.lua b/lua/default_config.lua index 64c76a6..08df822 100644 --- a/lua/default_config.lua +++ b/lua/default_config.lua @@ -54,6 +54,7 @@ M.options = { permanent_undo = true, shiftwidth = 2, smartindent = true, + tabstop = 8, -- Number of spaces that a in the file counts for timeoutlen = 400, relativenumber = false, ruler = false,