aboutsummaryrefslogtreecommitdiffhomepage
path: root/freebsd
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-08-18 18:34:16 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-08-18 18:48:06 +0200
commitbbcf801ddfd3eb50203518c130beb400de7ca53f (patch)
treef8d815e0417e3a490f8d58127c78dfc13cf62bb4 /freebsd
parent8baa631c77e2bc3b7457638df2d40e597faf879c (diff)
downloadsciteco-bbcf801ddfd3eb50203518c130beb400de7ca53f.tar.gz
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).
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/pkg-plist1
1 files changed, 1 insertions, 0 deletions
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