vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 5bbf745e278398ff9d9dde9b4e4e00bd69f328e9 parent 0faf15b90b3cba8264be6fc610327ee14578f197 Author: Marc André Tanner <mat@brain-dump.org> Date: Wed, 3 Jul 2019 13:50:09 +0200 Merge branch 'ft-exact' of https://github.com/michaelforney/vis Diffstat:
| M | lua/plugins/filetype.lua | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -102,13 +102,13 @@ vis.ftdetect.filetypes = { ext = { "%.d$", "%.di$" }, }, dockerfile = { - ext = { "Dockerfile" }, + ext = { "^Dockerfile$", "%.Dockerfile$" }, }, dot = { ext = { "%.dot$" }, }, dsv = { - ext = { "group", "gshadow", "passwd", "shadow" }, + ext = { "^group$", "^gshadow$", "^passwd$", "^shadow$" }, }, eiffel = { ext = { "%.e$", "%.eif$" }, @@ -282,7 +282,7 @@ vis.ftdetect.filetypes = { ext = { "%.pike$", "%.pmod$" }, }, pkgbuild = { - ext = { "PKGBUILD" }, + ext = { "^PKGBUILD$" }, }, pony = { ext = { "%.pony$" },