fix(nvim): Tabs as 2 spaces, and replace tabs as spaces

This commit is contained in:
2025-09-11 09:32:41 +02:00
parent 5457e298fd
commit 193dc2e40c

View File

@@ -32,10 +32,10 @@ vim.o.hlsearch = false
-- Make line numbers default
vim.wo.number = true
vim.o.tabstop = 4 -- A TAB character looks like 2 spaces
vim.o.tabstop = 2 -- A TAB character looks like 2 spaces
vim.o.expandtab = true -- Pressing the TAB key will insert spaces instead of a TAB character
vim.o.softtabstop = 4 -- Number of spaces inserted instead of a TAB character
vim.o.shiftwidth = 4 -- Number of spaces inserted when indenting
vim.o.softtabstop = 2 -- Number of spaces inserted instead of a TAB character
vim.o.shiftwidth = 2 -- Number of spaces inserted when indenting
-- Ruler at 100 characters
vim.o.colorcolumn = "100"