[Bugfix] Add Further File Extensions to Highlight (#3)#105
Open
kevinmatthes wants to merge 1 commit intovigna:masterfrom
Open
[Bugfix] Add Further File Extensions to Highlight (#3)#105kevinmatthes wants to merge 1 commit intovigna:masterfrom
kevinmatthes wants to merge 1 commit intovigna:masterfrom
Conversation
* Activate Haskell syntax highlighting References: - vigna#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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull Request incorporates the ideas of #104 and adds further file extensions to the syntax highlight mapping. The commit message contains references where the extensions originate from and which applications work with them. Most of the new extensions originate from Doxygen and GCC.
Extensions were added for the following languages.
Doxygen is a popular and common documentation tool. The extensions it supports are hence expected to occur as input files to be edited with ne. GCC is a very important compiler and was thus my main reference to counter-check the extensions supported by Doxygen as the Doxygen configuration file only lists the supported extensions without a mapping information.
I added Haskell and PHP as they were subject to #104 as well as Asymptote and CFF (see #102) since I usually work with those latter two languges. Asymptote (
asy) is a vector graphics language inspired by both C and Java, thus, it shares some syntax elements with both. I shelved it in to the C section, initially. If one finds that it is rather similar to Java instead of C, moving it there is no problem, please just tell me.