From bbcf801ddfd3eb50203518c130beb400de7ca53f Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 18 Aug 2024 18:34:16 +0200 Subject: added troff/nroff lexer * This is optimized for Groff, but works for Heirloom Troff and Neatroff as well. Currently, the Heirloom and Neatroff requests are just added ontop of the Groff ones. Theoretically, we could also try to separate the keyword lists into a base K&R set with Groff, Heirloom and Neatroff ontop. * The lexer necessarily has many restrictions, as Troff is fundamentally unparseable (like classic TECO) and needs a lot of per-request knowledge. * The "*.mm" extension has been removed from the lexers/cpp.tes. I don't know what language this was for, and I prefer `*.mm` files to be considered Troff. * Temporarily changed the lexilla submodule URL. The corresponding Lexila lexer is in the process of being upstreamed. Once it is, I will probably revert the submodule to the official repository, as the "troff" branch is not stable (can be rebased). --- contrib/lexilla | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/lexilla b/contrib/lexilla index 43ea736..ea72eee 160000 --- a/contrib/lexilla +++ b/contrib/lexilla @@ -1 +1 @@ -Subproject commit 43ea736569d52ba6cf7e7325cf39009409e7282b +Subproject commit ea72eee0686784f5314e5c898252889060b5e47b -- cgit v1.2.3