vigna / ne

ne, the nice editor
http://ne.di.unimi.it/
GNU General Public License v3.0
473 stars 33 forks source link

[Bugfix] Add Further File Extensions to Highlight (#3) #105

Open kevinmatthes opened 2 years ago

kevinmatthes commented 2 years ago

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.