From cbaa0d8cfe92a906d9869415833242961bb2b4ee Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Thu, 5 Oct 2023 08:44:12 -0600 Subject: [PATCH] lua: filetype: fix fstab detection same as last commit, `fstab.lua` shouldn't be matched as `fstab` --- lua/plugins/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 85a353e3b..e8564c5cf 100644 --- a/lua/plugins/filetype.lua +++ b/lua/plugins/filetype.lua @@ -152,7 +152,7 @@ vis.ftdetect.filetypes = { ext = { "%.fs$" }, }, fstab = { - ext = { "fstab" }, + ext = { "^fstab$" }, }, gap = { ext = { "%.g$", "%.gd$", "%.gi$", "%.gap$" },