GeSHi / geshi-1.0

Original version of Generic Syntax Highlighter for PHP
http://qbnz.com/highlighter/
GNU General Public License v2.0
168 stars 101 forks source link

Naming regulations: _ or - in file names #27

Open Streusel opened 9 years ago

Streusel commented 9 years ago

While performing a manual merge on some of my files I noticed c_winapi and cpp-winapi. Could we please enforce naming rules such that we only use underscores or dashes? Unless the language actually includes these I don't see why we use both. That would be my only concern at the moment.

Here are the ones I can find Using "-"

Using "_"

BenBE commented 7 years ago

Basically use dash (-) if a specialised version of another language (e.g. cpp-qt, php-brief), use underscore (_) when the name would otherwise contain disallowed characters (e.g. apt_sources, xorg_conf).

Thus the only non-conforming files from your list are the 3 language files for variants of C (c_loadrunner, c_mac, c_winapi) which should receive a dash.