Change indentation size to 2 for Lua

This commit is contained in:
Sam A. 2023-05-11 02:27:50 +02:00
parent 01c2ad0ef5
commit abfbcdb504
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
1 changed files with 132 additions and 132 deletions

View File

@ -46,7 +46,7 @@ vim.cmd.colorscheme('onedark')
-- settings for specific filetypes
vim.api.nvim_create_autocmd('FileType', {
pattern = { 'html', 'css', 'scss', 'json', 'yaml', 'yaml.*' },
pattern = { 'html', 'css', 'scss', 'lua', 'json', 'yaml', 'yaml.*' },
callback = function()
vim.opt_local.tabstop = 2
vim.opt_local.shiftwidth = 2