vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 6376fc6bec23de01d361c7f0af317c28a0cb5eb1 parent e30f565af77ebcfd5073005aab7f54570aa0ae8c Author: Michiel van den Heuvel <michielvdnheuvel@gmail.com> Date: Mon, 18 Sep 2023 16:41:51 +0200 filetype: add psm1 and search for xml using mime type Diffstat:
| M | lua/plugins/filetype.lua | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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$" },