Use tabs instead of spaces
This commit is contained in:
@@ -40,7 +40,6 @@ return {
|
|||||||
"optwin",
|
"optwin",
|
||||||
"compiler",
|
"compiler",
|
||||||
"bugreport",
|
"bugreport",
|
||||||
"ftplugin",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
-------------------
|
-------------------
|
||||||
@@ -119,4 +119,4 @@ end
|
|||||||
-- Apply editor options
|
-- Apply editor options
|
||||||
for k, v in pairs(opt) do
|
for k, v in pairs(opt) do
|
||||||
vim.opt[k] = v
|
vim.opt[k] = v
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user