Change lua settings to be the same as Go's

This commit is contained in:
2021-12-25 19:26:28 +03:00
parent 2e11361adb
commit 0799a92c6a

View File

@@ -98,11 +98,11 @@ vim.o.termguicolors = true
vim.o.signcolumn = "yes" vim.o.signcolumn = "yes"
vim.opt.fillchars:append({eob = " "}) vim.opt.fillchars:append({eob = " "})
-- Go specific settings -- Go and Lua specific settings
vim.cmd([[ vim.cmd([[
autocmd FileType go set tabstop=4 autocmd FileType go,lua set tabstop=4
autocmd FileType go set shiftwidth=4 autocmd FileType go,lua set shiftwidth=4
autocmd FileType go set noexpandtab autocmd FileType go,lua set noexpandtab
]]) ]])
vim.g.mapleader = " " vim.g.mapleader = " "