From dcf0c7556b8d886d51747d245c851be41c80e8f1 Mon Sep 17 00:00:00 2001 From: kalmenn Date: Fri, 13 Sep 2024 09:49:24 +0200 Subject: [PATCH] fix(filetype): Properly set the filetype of lua files --- lua/filetypes.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/filetypes.lua b/lua/filetypes.lua index e3a98cb..0935b18 100644 --- a/lua/filetypes.lua +++ b/lua/filetypes.lua @@ -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