aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichiel van den Heuvel <michielvdnheuvel@gmail.com>2023-09-18 16:41:51 +0200
committerRandy Palamar <palamar@ualberta.ca>2023-09-20 09:34:56 -0600
commit7367ea8a14c7413e5e8e2cd16edb4a05690ef782 (patch)
tree97d7b2fa40dc8d2b78cd0dbf5856e06608e83ffa
parent956238bb87677d9a065f2477b453a01c58a4c7f6 (diff)
downloadvis-7367ea8a14c7413e5e8e2cd16edb4a05690ef782.tar.gz
vis-7367ea8a14c7413e5e8e2cd16edb4a05690ef782.tar.xz
filetype: add psm1 and search for xml using mime type
-rw-r--r--lua/plugins/filetype.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index 074b7f2..fd8f3d3 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -331,7 +331,7 @@ vis.ftdetect.filetypes = {
ext = { "%.pony$" },
},
powershell = {
- ext = { "%.ps1$" },
+ ext = { "%.ps1$", "%.psm1$" },
},
prolog = {
ext = { "%.pl$", "%.pro$", "%.prolog$" },
@@ -481,6 +481,7 @@ vis.ftdetect.filetypes = {
"%.dtd$", "%.glif$", "%.plist$", "%.svg$", "%.xml$",
"%.xsd$", "%.xsl$", "%.xslt$", "%.xul$"
},
+ mime = { "text/xml" },
},
xtend = {
ext = {"%.xtend$" },