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). --- TODO | 1 - 1 file changed, 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 357044f..f3ebc5a 100644 --- a/TODO +++ b/TODO @@ -417,7 +417,6 @@ Features: native Scintilla packages. Perhaps it makes sense to be able to build against them using --with-scintilla. - * Write a Scintilla/Lexilla lexer for Roff * There is an Urxvt extension 52-osc for implementing the xterm-like clipboard control sequences. Other emulators also support it. It is not always detectable -- cgit v1.2.3