GitHub uses Linguist to perform language detection and to select third-party grammars for syntax highlighting. You can find out which keywords are valid in the languages YAML file.
```cfm
<!--- CFML goes here --->
```
<cfset a = now()>
<cfquery name="Result" dbtype="query">SELECT * FROM Table
WHERE ID = <cfqueryparam value="1" cfsqltype="CF_SQL_INTEGER"></cfquery>
<!--- This is a comment --->
<cfcontent variable="text">Hello World</cfcontent>
```cfc
/* cfscript goes here */
```
a = now();
b = queryexecute("SELECT * FROM Table WHERE ID = :id", {"id": 1}, {"dbtype": "query"});
/* This is a comment */
cfcontent(variable="text"){writeoutput("Hello World");}
Configuration from Linguist languages.yml (as of 2024-06-03)
ColdFusion:
type: programming
ace_mode: coldfusion
color: "#ed2cd6"
aliases:
- cfm
- cfml
- coldfusion html
extensions:
- ".cfm"
- ".cfml"
tm_scope: text.html.cfm
language_id: 64
ColdFusion CFC:
type: programming
color: "#ed2cd6"
group: ColdFusion
ace_mode: coldfusion
aliases:
- cfc
extensions:
- ".cfc"
tm_scope: source.cfscript
language_id: 65