From 923684f783bab2ca7fc67d948d1523fbbf603bab Mon Sep 17 00:00:00 2001 From: Kevin Matthes <92332892+kevinmatthes@users.noreply.github.com> Date: Fri, 7 Oct 2022 10:58:38 +0200 Subject: [PATCH] [Bugfix] Add Further File Extensions to Highlight (#3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Activate Haskell syntax highlighting References: - https://github.com/vigna/ne/issues/104 * Add Python extensions References: - `pyx`: Cython compiler, version 0.29.21 - `pyw`: Doxygen default configuration file, version 1.9.1 - `pyw`: IDLE Python IDE, version 3.9.2-3 * Add Fortran extensions References: - `f95`, `f03`, `f08`, `f18`: Doxygen default configuration file, version 1.9.1 - `F95`, `F03`, `F08`, `FOR`, `fpp`, `FPP`, `ftn`, `FTN`: GCC manual page, version 10.2.0, 31th July 2020 * Add assembler extensions References: - GCC manual page, version 10.2.0, 31th July 2020 * Add further C/C++ extensions References: - GCC manual page, version 10.2.0, 31th July 2020 * Add miscellaneous extensions from Doxygen References: - Doxygen default configuration file, version 1.9.1 * Add further extensions References: - `asy`: [HBP20] - `cff`: [DSCHBB+21] [DSCHBB+21] Stephan Druskat, Jurriaan H. Spaaks, Neil Chue Hong, Robert Haines, James Baker, Spencer Bliven, Egon Willighagen, David Pérez-Suárez and Alexander Konovalov. Citation File Format. Version 1.2.0. 2021-08. doi: 10.5281/zenodo.5171937. [HBP20] Andy Hammerlindl, John Bowman and Tom Prince. Asymptote. The Vector Graphics Language. Version 2.69. 2020. --- doc/ne.texinfo | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/doc/ne.texinfo b/doc/ne.texinfo index 73ee6d8..43ab7d8 100644 --- a/doc/ne.texinfo +++ b/doc/ne.texinfo @@ -4509,22 +4509,27 @@ a list of common extensions. Don't get fancy with this format. @example ada: adb, ads - asm: s - c: c++, cc, cpp, cxx, h, h++, hpp, l, lex, y, yacc + asm: s, S, sx + c: asy, C, c++, cc, cp, cpp, CPP, cxx, dox, h, H, h++, hh, hp, + hpp, HPP, hxx, i, ii, l, lex, tcc, y, yacc cobol: cbl, cob csh: tcsh diff: patch - fortran: f, F, for, f90, F90 + fortran: f, F, for, FOR, f90, F90, f95, F95, f03, F03, f08, + F08, f18, ftn, FTN, fpp, FPP + haskell: hs, lhs html: htm java: js lisp: el, lsp mason: mas + md: markdown ocaml: ml, mli pascal: p, pas perl: pl, pm + php: inc, php4, php5 ps: eps puppet: pp - python: py, sage + python: py, pyw, pyx, sage rexx: rex ruby: rb sh: bash, bash_login, bash_logout, bash_profile, bashrc, ksh, @@ -4532,10 +4537,10 @@ a list of common extensions. Don't get fancy with this format. skill: il tex: latex, dtx, sty texinfo: texi, txi - troff: 1 - verilog: v, vh, vhd + troff: 1, 3 + verilog: v, vh, vhd, vhdl xml: xsd - yaml: yml + yaml: cff, yml @end example