There is the textadapt module for dealing with Modula 2
by the late Nikalus Wirth and its successor Modula 3 on
https://github.com/paaguti/textadept-modula-lexers. If I want to
just use it, I need to have these types recognized.
---
lua/plugins/filetype.lua | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index 52d53024..894b71c1 100644
--- a/lua/plugins/filetype.lua+++ b/lua/plugins/filetype.lua
@@ -286,6 +286,12 @@ vis.ftdetect.filetypes = {
meson = {
ext = { "^meson%.build$" },
},
+ modula2 = {+ ext = { "%.mod$", "%.def$" },+ },+ modula3 = {+ ext = { "%.mg$", "%.ig$", "%.i3$", "%.m3$" },+ }, moonscript = {
ext = { "%.moon$" },
mime = { "text/x-moon" },
--
2.43.1