~martanne/devel

vis: introduce new `wiki` file type v1 APPLIED

Matěj Cepl: 1
 introduce new `wiki` file type

 1 files changed, 3 insertions(+), 0 deletions(-)
#1313206 alpine.yml success
#1313207 debian.yml success
#1313208 freebsd.yml success
#1313209 openbsd.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martanne/devel/patches/54762/mbox | git am -3
Learn more about email & git

[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$" },
	},
-- 
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: