fix(filetype): Properly set the filetype of lua files
This commit is contained in:
parent
9c302e3506
commit
dcf0c7556b
|
@ -3,6 +3,7 @@ vim.filetype.add({
|
|||
lua = function(_, bufnr)
|
||||
vim.bo[bufnr].shiftwidth = 2
|
||||
vim.bo[bufnr].tabstop = 2
|
||||
return "lua"
|
||||
end,
|
||||
typ = function(_, bufnr)
|
||||
vim.bo[bufnr].shiftwidth = 2
|
||||
|
|
Loading…
Reference in a new issue