fix(filetype): Properly set the filetype of lua files

This commit is contained in:
kalmenn 2024-09-13 09:49:24 +02:00
parent 9c302e3506
commit dcf0c7556b
Signed by: kalmenn
GPG key ID: F500055C44BC3834

View file

@ -3,6 +3,7 @@ vim.filetype.add({
lua = function(_, bufnr) lua = function(_, bufnr)
vim.bo[bufnr].shiftwidth = 2 vim.bo[bufnr].shiftwidth = 2
vim.bo[bufnr].tabstop = 2 vim.bo[bufnr].tabstop = 2
return "lua"
end, end,
typ = function(_, bufnr) typ = function(_, bufnr)
vim.bo[bufnr].shiftwidth = 2 vim.bo[bufnr].shiftwidth = 2