aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2019-07-03 13:50:09 +0200
committerMarc André Tanner <mat@brain-dump.org>2019-07-03 13:50:09 +0200
commit3ab03fa340b873401f288267567963f65fd8e9ec (patch)
treee3f98203df075ba257e202dbf0f9f8cda5b0b08e /lua
parent33977384c543fa6ef3b6f4505f05cd29407067f6 (diff)
parent3b798d3002e0b35a5f8890d29035fc91642fd6e0 (diff)
downloadvis-3ab03fa340b873401f288267567963f65fd8e9ec.tar.gz
vis-3ab03fa340b873401f288267567963f65fd8e9ec.tar.xz
Merge branch 'ft-exact' of https://github.com/michaelforney/vis
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/filetype.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index 6c574bc..35912f6 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$", "%.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$" },