~martanne/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH vis] introduce new `org` file type

Details
Message ID
<20240827132820.1525615-1-mcepl@cepl.eu>
DKIM signature
missing
Download raw message
Patch: +3 -0
I am planning to add lexer for orgmode files (and possibly in
future even some plugin dealing with it).

https://orgmode.org/
---
 lua/plugins/filetype.lua | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index d643f828..a799cf17 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -310,6 +310,9 @@ vis.ftdetect.filetypes = {
		ext = { "%.m$", "%.mm$", "%.objc$" },
		mime = { "text/x-objc" },
	},
	org = {
		ext = { "%.org$" },
	},
	pascal = {
		ext = { "%.dpk$", "%.dpr$", "%.p$", "%.pas$" },
	},
-- 
2.46.0

[vis/patches] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<D3QQAYE46JWW.3LYMWQKPP6TXM@fra01>
In-Reply-To
<20240827132820.1525615-1-mcepl@cepl.eu> (view parent)
DKIM signature
missing
Download raw message
vis/patches: SUCCESS in 1m20s

[introduce new `org` file type][0] from [Matěj Cepl][1]

[0]: https://lists.sr.ht/~martanne/devel/patches/54749
[1]: mcepl@cepl.eu

✓ #1312848 SUCCESS vis/patches/freebsd.yml https://builds.sr.ht/~martanne/job/1312848
✓ #1312847 SUCCESS vis/patches/debian.yml  https://builds.sr.ht/~martanne/job/1312847
✓ #1312846 SUCCESS vis/patches/alpine.yml  https://builds.sr.ht/~martanne/job/1312846
✓ #1312849 SUCCESS vis/patches/openbsd.yml https://builds.sr.ht/~martanne/job/1312849
Details
Message ID
<2AUZC3PW73ULU.3RFHD6E36YE3D@rnpnr.xyz>
In-Reply-To
<20240827132820.1525615-1-mcepl@cepl.eu> (view parent)
DKIM signature
permerror
Download raw message
Matěj Cepl <mcepl@cepl.eu> wrote:
> I am planning to add lexer for orgmode files (and possibly in
> future even some plugin dealing with it).
> 
> https://orgmode.org/
> ---
>  lua/plugins/filetype.lua | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
> index d643f828..a799cf17 100644
> --- a/lua/plugins/filetype.lua
> +++ b/lua/plugins/filetype.lua
> @@ -310,6 +310,9 @@ vis.ftdetect.filetypes = {
>  		ext = { "%.m$", "%.mm$", "%.objc$" },
>  		mime = { "text/x-objc" },
>  	},
> +	org = {
> +		ext = { "%.org$" },
> +	},
>  	pascal = {
>  		ext = { "%.dpk$", "%.dpr$", "%.p$", "%.pas$" },
>  	},

Applied, Thanks!

-- 
https://rnpnr.xyz/
GPG Fingerprint: B8F0 CF4C B6E9 415C 1B27 A8C4 C8D2 F782 86DF 2DC5
Reply to thread Export thread (mbox)