aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Makefile.am
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 /lib/Makefile.am
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 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index a458692..5ea3029 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -99,6 +99,7 @@ dist_lexer_DATA += lexers/verilog.tes \
lexers/python.tes \
lexers/yaml.tes \
lexers/markdown.tes \
- lexers/asciidoc.tes
+ lexers/asciidoc.tes \
+ lexers/troff.tes
endif