From 2dd81085804912d85affed9df0d2c3f1825ca6ac Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 17 Nov 2019 16:18:50 -0800 Subject: vis: Update to latest git --- ...01-filetype-Match-known-filenames-exactly.patch | 44 ---------------------- pkg/vis/src | 2 +- pkg/vis/ver | 2 +- 3 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 pkg/vis/patch/0001-filetype-Match-known-filenames-exactly.patch (limited to 'pkg') diff --git a/pkg/vis/patch/0001-filetype-Match-known-filenames-exactly.patch b/pkg/vis/patch/0001-filetype-Match-known-filenames-exactly.patch deleted file mode 100644 index bfb16d89..00000000 --- a/pkg/vis/patch/0001-filetype-Match-known-filenames-exactly.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 0258112511c3a268f06e95bab93f96f03ca5df4f Mon Sep 17 00:00:00 2001 -From: Michael Forney -Date: Wed, 26 Jun 2019 12:34:35 -0700 -Subject: [PATCH] filetype: Match known filenames exactly - -Otherwise, a file like `passwd.c` will match both ansi_c and dsv. -The one that gets chosen depends on the iteration order of table, -which is non-deterministic. ---- - lua/plugins/filetype.lua | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua -index ba770aa..a820a0e 100644 ---- 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$" }, - }, - dot = { - ext = { "%.dot$" }, - }, - dsv = { -- ext = { "group", "gshadow", "passwd", "shadow" }, -+ ext = { "^group$", "^gshadow$", "^passwd$", "^shadow$" }, - }, - eiffel = { - ext = { "%.e$", "%.eif$" }, -@@ -279,7 +279,7 @@ vis.ftdetect.filetypes = { - ext = { "%.pike$", "%.pmod$" }, - }, - pkgbuild = { -- ext = { "PKGBUILD" }, -+ ext = { "^PKGBUILD$" }, - }, - pony = { - ext = { "%.pony$" }, --- -2.22.0 - diff --git a/pkg/vis/src b/pkg/vis/src index ebb1c4a5..e136e348 160000 --- a/pkg/vis/src +++ b/pkg/vis/src @@ -1 +1 @@ -Subproject commit ebb1c4a536ab22e82edf7cc365704875da8900ce +Subproject commit e136e348cbd0ea4bf2dd8de6f98da1ca1924bc96 diff --git a/pkg/vis/ver b/pkg/vis/ver index c60320cf..daca2885 100644 --- a/pkg/vis/ver +++ b/pkg/vis/ver @@ -1 +1 @@ -0.5 r1 +0.5-62-ge136e34 r0 -- cgit v1.2.3