Change indentation size to 2 for Lua
This commit is contained in:
parent
01c2ad0ef5
commit
abfbcdb504
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue