The table below lists all supported languages, their syntax definition filenames,
and the associated file extensions (configured in filetypes.conf
).
By default, the *.lang
files are located in /usr/share/highlight/langDefs/
.
See the README
for other user defined locations.
Packaged language definitions, obtained via highlight --list-scripts=langs
Language | Filename | Extensions |
---|---|---|
ABAP/4 |
|
|
ABC |
||
Abstract |
|
|
ActionScript |
|
|
Active Server Pages |
|
|
ADA95 |
|
|
Advanced Backus-Naur Form |
||
Agda |
||
ALAN Interactive Fiction Language |
|
|
ALGOL 68 |
|
|
AMPL |
|
|
AMTrix |
|
|
Ansible YAML |
|
|
Apache Config |
||
AppleScript |
||
Applied Type System |
|
|
Arc |
||
ARM |
||
AS/400 CL |
||
ASCEND |
|
|
AsciiDoc |
||
AutoHotKey |
|
|
AutoIt |
|
|
Avenue |
||
Backus-Naur Form |
||
Ballerina |
|
|
Bash |
|
|
BBcode |
||
BCPL |
||
BibTeX |
|
|
Biferno |
|
|
Bison |
|
|
Blitz Basic |
|
|
BM Script |
||
Boo |
||
C and C++ |
|
|
Ceylon |
||
Chapel |
||
Charmm |
|
|
CHILL |
|
|
Clean |
|
|
ClearBasic |
|
|
C# |
|
|
Clipper |
||
Clips |
||
Clojure |
|
|
CMake |
||
COBOL |
|
|
Coffeescript Block Regex |
||
Coffeescript |
||
ColdFusion MX |
|
|
Crack |
||
Crystal |
|
|
CSS |
||
Dart |
||
delphi |
|
|
Device Tree Source |
|
|
Diff |
|
|
D |
||
Dockerfile |
|
|
Dylan |
||
EBNF2 |
||
Eiffel |
|
|
Elixir |
|
|
E-Mail treated as Markup |
||
ERB Templates |
||
Erlang |
|
|
Euphoria |
|
|
EXAPUNKS |
|
|
Excel Formulas |
||
Express |
|
|
Extended Backus-Naur Form |
||
FAME |
|
|
fasm |
|
|
Felix |
|
|
Fish |
||
F# |
|
|
Fortran 77 |
|
|
Fortran 90 |
|
|
Frink |
||
fstab config file |
||
Gambas |
|
|
(G)AWK |
||
gdb |
||
GDScript |
|
|
Generic Assembler |
|
|
Generic config files |
|
|
GitHub Flavored Markdown |
|
|
GitHub Flavored Markdown |
||
Go |
||
Graphviz |
|
|
Haml (HTML Abstraction Markup Language) |
||
Haskell LHS |
||
Haskell |
|
|
haXe |
|
|
Hecl |
||
HTML |
|
|
Hugo |
|
|
Icon |
|
|
IDL |
||
Informix |
|
|
INI |
|
|
Inno Setup |
|
|
Interactive Data Language |
||
INTERLIS |
|
|
IO |
||
Jasmin |
|
|
Java FX |
||
Java |
|
|
Javascript |
||
Javascript Regex |
||
JavaServer Pages |
||
JSON |
||
JSX |
||
Julia |
|
|
Kotlin |
|
|
LDAP |
||
LESS |
||
Lilypond |
|
|
Limbo |
|
|
Linden Script |
|
|
Lisp |
|
|
Logtalk |
|
|
Lotos |
||
Lotus |
|
|
Lua (for LuaTeX) |
||
Lua |
||
Luban |
|
|
Magic eXtensible Markup |
||
Make |
|
|
Maple |
|
|
Matlab |
|
|
MaxScript |
||
Maya |
|
|
Mercury |
||
Meson |
||
Microsoft PowerShell |
|
|
Miranda |
||
mIRC Scripting |
|
|
Modelica |
|
|
Modula2 |
|
|
Modula3 |
|
|
MoonScript |
||
MS DOS Batch |
|
|
MSSQL |
||
Nasal |
|
|
Nemerle |
|
|
NetRexx |
|
|
NeXT Byte Codes |
||
Nginx configuration |
||
Nice |
||
Nim |
||
Notation3 (N3), N-Triples, Turtle, SPARQL |
|
|
Not eXactly C |
||
NSIS |
|
|
Oberon |
|
|
Objective Caml |
|
|
Objective C |
||
Object Script |
||
Octave |
||
OpenObjectRexx |
||
OpenSCAD |
||
Oz |
||
Paradox |
|
|
Pascal |
||
PATROL |
||
Perl |
|
|
PHP |
|
|
Pike |
|
|
PL/1 |
|
|
Plain text |
|
|
PL/Perl |
||
PL/Python |
||
PL/SQL |
||
PL/Tcl |
||
Polygen |
|
|
Pony |
||
Portable Document Format |
||
PostScript |
||
PO translation |
||
POV-Ray |
||
PowerPC Assembler |
||
Progress |
|
|
Prolog |
|
|
PureBASIC |
|
|
Pure |
||
Pyrex |
|
|
Python |
|
|
QMake Project |
||
QML |
||
Qore |
||
Qu |
||
Rebol |
||
Relax NG |
||
Rexx |
|
|
R |
||
RPG |
||
RPL Programming Language |
||
RPM Spec |
||
Ruby |
|
|
Rust |
||
SAS |
||
SASS/SCSS |
||
Scala |
||
Scilab |
|
|
Sequence Alignment Map (use with sam_seq.lua plug-in) |
||
Slim (experimental) |
||
SMALL |
|
|
Smalltalk |
|
|
SNMP |
|
|
SNOBOL |
|
|
Solidity |
|
|
SPIN SQL |
||
Squirrel |
|
|
Standard ML |
||
Stylus |
||
SuperX++ |
||
SVG |
||
Swift |
||
Sybase SQL |
||
Tcl/Tk |
|
|
TCSH |
||
Terraform |
||
TeX and LaTeX |
|
|
TOML |
||
Transact-SQL |
||
TSX (TypeScript with React) |
||
TTCN3 |
||
TypeScript |
||
UPC (and C, technically) |
||
Vala |
||
Verilog |
|
|
VHDL |
||
vimscript |
|
|
Visual Basic |
|
|
vue.js (beta) |
||
Whiley |
||
Wren |
||
XML |
|
|
Yaiff |
||
Yang |
||
Zonnon |
ℹ️
|
This page is autogenerated via a script. Any manual edits to the page will be lost when the page is updated. |