feat: use spaces for intentation

This commit is contained in:
Maximilian Schöll 2024-03-10 02:16:28 +01:00
parent c53d1defd1
commit 3c30d1c881
1 changed files with 13 additions and 1 deletions

View File

@ -137,7 +137,7 @@ vim.opt.splitbelow = true
-- See `:help 'list'` -- See `:help 'list'`
-- and `:help 'listchars'` -- and `:help 'listchars'`
vim.opt.list = true vim.opt.list = true
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' } vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '', space = '·' }
-- Preview substitutions live, as you type! -- Preview substitutions live, as you type!
vim.opt.inccommand = 'split' vim.opt.inccommand = 'split'
@ -148,6 +148,18 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor. -- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10 vim.opt.scrolloff = 10
-- Number of spaces that a <Tab> in the file counts for.
vim.opt.tabstop = 4
-- Amount of whitespace used for one level of indentation.
vim.opt.shiftwidth = 4
-- Use the appropriate number of spaces to insert a <Tab>.
vim.opt.expandtab = true
-- Highlight column
vim.opt.colorcolumn = '80'
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()` -- See `:help vim.keymap.set()`