updated lua formater and tab preferences

This commit is contained in:
Daveanand Mannie
2024-09-02 16:28:27 -04:00
parent 7a376b771c
commit 034956dac6
3 changed files with 22 additions and 12 deletions

View File

@@ -1,3 +1,11 @@
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here
vim.api.nvim_create_autocmd("FileType", {
pattern = { "lua" },
callback = function()
vim.bo.tabstop = 2
vim.bo.softtabstop = 2
vim.bo.shiftwidth = 2
end,
})