[PATCH vis] introduce new `wiki` file type
Export this patch
`mediawiki` is the keyword used by Scintillua (/lexers/mediawiki.lua).
---
lua/plugins/filetype.lua | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index a799cf17..5bd1ff07 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -278,6 +278,9 @@ vis.ftdetect.filetypes = {
ext = { "%.md$", "%.markdown$" },
mime = { "text/x-markdown" },
},
+ mediawiki = {
+ ext = { "%.wiki$" },
+ },
meson = {
ext = { "^meson%.build$" },
},
Applied, Thanks!
--
2.46.0
vis/patches: SUCCESS in 1m23s
[introduce new `wiki` file type][0] from [Matěj Cepl][1]
[0]: https://lists.sr.ht/~martanne/devel/patches/54762
[1]: mailto:mcepl@cepl.eu
✓ #1313208 SUCCESS vis/patches/freebsd.yml https://builds.sr.ht/~martanne/job/1313208
✓ #1313207 SUCCESS vis/patches/debian.yml https://builds.sr.ht/~martanne/job/1313207
✓ #1313206 SUCCESS vis/patches/alpine.yml https://builds.sr.ht/~martanne/job/1313206
✓ #1313209 SUCCESS vis/patches/openbsd.yml https://builds.sr.ht/~martanne/job/1313209
Matěj Cepl <mcepl@cepl.eu> wrote: