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). --- freebsd/pkg-plist | 1 + 1 file changed, 1 insertion(+) (limited to 'freebsd') diff --git a/freebsd/pkg-plist b/freebsd/pkg-plist index 106bf73..d65cbf6 100644 --- a/freebsd/pkg-plist +++ b/freebsd/pkg-plist @@ -80,6 +80,7 @@ man/man7/%%PROGRAM_PREFIX%%sciteco.7.gz %%LEXILLA%%%%DATADIR%%/lib/lexers/tal.tes %%LEXILLA%%%%DATADIR%%/lib/lexers/tcl.tes %%LEXILLA%%%%DATADIR%%/lib/lexers/test.tes +%%LEXILLA%%%%DATADIR%%/lib/lexers/troff.tes %%LEXILLA%%%%DATADIR%%/lib/lexers/vala.tes %%LEXILLA%%%%DATADIR%%/lib/lexers/vb.tes %%LEXILLA%%%%DATADIR%%/lib/lexers/verilog.tes -- cgit v1.2.3