Skip to content

Commit

Permalink
filetype: add psm1 and search for xml using mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
milhnl authored and rnpnr committed Sep 20, 2023
1 parent 956238b commit 7367ea8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/plugins/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ vis.ftdetect.filetypes = {
ext = { "%.pony$" },
},
powershell = {
ext = { "%.ps1$" },
ext = { "%.ps1$", "%.psm1$" },
},
prolog = {
ext = { "%.pl$", "%.pro$", "%.prolog$" },
Expand Down Expand Up @@ -481,6 +481,7 @@ vis.ftdetect.filetypes = {
"%.dtd$", "%.glif$", "%.plist$", "%.svg$", "%.xml$",
"%.xsd$", "%.xsl$", "%.xslt$", "%.xul$"
},
mime = { "text/xml" },
},
xtend = {
ext = {"%.xtend$" },
Expand Down

0 comments on commit 7367ea8

Please sign in to comment.