Просмотр исходного кода

fix expandtab (#373)

* fix expandtab

* fix expandtab
dklymenk 4 лет назад
Родитель
Сommit
40ba88dda2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lua/settings.lua

+ 1 - 1
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