vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 80eb3de92eddfb27f55ca4c9bb6388c9023e9a5e
parent efecd4582819c2fafa713bf65938a3bde26a9700
Author: Randy Palamar <palamar@ualberta.ca>
Date:   Thu,  5 Oct 2023 08:44:12 -0600

lua: filetype: fix fstab detection

same as last commit, `fstab.lua` shouldn't be matched as `fstab`

Diffstat:
Mlua/plugins/filetype.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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$" },