From 5941d60a18bb207b24e35efae038dd79e54496b8 Mon Sep 17 00:00:00 2001 From: kami Date: Mon, 7 Apr 2025 10:29:06 -0400 Subject: [PATCH] Update options.lua expandtab, shiftwidth and tabstop --- lua/lazyvim/config/options.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/lazyvim/config/options.lua b/lua/lazyvim/config/options.lua index 0bbaacba..d6da9e8a 100644 --- a/lua/lazyvim/config/options.lua +++ b/lua/lazyvim/config/options.lua @@ -59,7 +59,7 @@ opt.completeopt = "menu,menuone,noselect" opt.conceallevel = 2 -- Hide * markup for bold and italic, but not markers with substitutions opt.confirm = true -- Confirm to save changes before exiting modified buffer opt.cursorline = true -- Enable highlighting of the current line -opt.expandtab = true -- Use spaces instead of tabs +opt.expandtab = false -- Use spaces instead of tabs opt.fillchars = { foldopen = "", foldclose = "", @@ -88,7 +88,7 @@ opt.ruler = false -- Disable the default ruler opt.scrolloff = 4 -- Lines of context opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp", "folds" } opt.shiftround = true -- Round indent -opt.shiftwidth = 2 -- Size of an indent +opt.shiftwidth = 8 -- Size of an indent opt.shortmess:append({ W = true, I = true, c = true, C = true }) opt.showmode = false -- Dont show mode since we have a statusline opt.sidescrolloff = 8 -- Columns of context @@ -100,7 +100,7 @@ opt.splitbelow = true -- Put new windows below current opt.splitkeep = "screen" opt.splitright = true -- Put new windows right of current opt.statuscolumn = [[%!v:lua.require'snacks.statuscolumn'.get()]] -opt.tabstop = 2 -- Number of spaces tabs count for +opt.tabstop = 8 -- Number of spaces tabs count for opt.termguicolors = true -- True color support opt.timeoutlen = vim.g.vscode and 1000 or 300 -- Lower than default (1000) to quickly trigger which-key opt.undofile = true