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
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
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