summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordklymenk <[email protected]>2021-05-07 05:52:50 +0300
committerGitHub <[email protected]>2021-05-06 22:52:50 -0400
commit40ba88dda274e5cf933517b2de3dff431c25b8a7 (patch)
treea473826a36f09292e380cfa4dd55f64d5ea45266
parente93dbcf7ae1527965801af418882b0d5d40f222c (diff)
fix expandtab (#373)
* fix expandtab * fix expandtab
-rw-r--r--lua/settings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/settings.lua b/lua/settings.lua
index 4116f340..5fdd87a3 100644
--- a/lua/settings.lua
+++ b/lua/settings.lua
@@ -21,7 +21,7 @@ vim.o.t_Co = "256" -- Support 256 colors
vim.o.conceallevel = 0 -- So that I can see `` in markdown files
vim.cmd('set ts=4') -- Insert 2 spaces for a tab
vim.cmd('set sw=4') -- Change the number of space characters inserted for indentation
-vim.bo.expandtab = true -- Converts tabs to spaces
+vim.cmd('set expandtab') -- Converts tabs to spaces
vim.bo.smartindent = true -- Makes indenting smart
vim.wo.number = O.number -- set numbered lines
vim.wo.relativenumber = O.relative_number -- set relative number