Use tabs instead of spaces

This commit is contained in:
2024-11-19 19:59:56 +01:00
parent 299b128d5a
commit c84564fed0
3 changed files with 6 additions and 3 deletions

View File

@@ -40,7 +40,6 @@ return {
"optwin", "optwin",
"compiler", "compiler",
"bugreport", "bugreport",
"ftplugin",
}, },
}, },
}, },

View File

@@ -76,7 +76,7 @@ local opt = {
wrapmargin = 0, -- No margin for wrapping wrapmargin = 0, -- No margin for wrapping
tabstop = 4, -- 2 spaces per tab tabstop = 4, -- 2 spaces per tab
shiftwidth = 0, -- Match tabstop shiftwidth = 0, -- Match tabstop
expandtab = true, -- Use spaces for tabs expandtab = false, -- Use spaces for tabs
autoindent = true, -- Maintain indent level autoindent = true, -- Maintain indent level
------------------- -------------------

View File

@@ -16,6 +16,10 @@ set hlsearch
set foldmethod=indent set foldmethod=indent
set history=1000 set history=1000
set nofoldenable set nofoldenable
set autoindent
set tabstop=4
set shiftwidth=4
set noexpandtab
let @q = 'GpA ^[' let @q = 'GpA ^['
let @w = 'Gpo^[' let @w = 'Gpo^['