Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit f493c59

Browse files
committed
Add link to "Syntax Naming Conventions" in "Creating a Grammar"
1 parent 2ccd709 commit f493c59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/hacking-atom/sections/creating-a-grammar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ scopes:
9090
'call_expression > identifier': 'entity.function.call'
9191
```
9292

93-
This entry means that, in the syntax tree, any `identifier` node whose parent is a `call_expression` should be highlighted using three classes: `syntax--entity`, `syntax--function`, and `syntax--call`.
93+
This entry means that, in the syntax tree, any `identifier` node whose parent is a `call_expression` should be highlighted using three classes: `syntax--entity`, `syntax--function`, and `syntax--call`. For a list of conventional classes, see the [Syntax Naming Conventions](../syntax-naming-conventions/) section.
9494

9595
Note that in this selector, we're using the [immediate child combinator](https://developer.mozilla.org/en-US/docs/Web/CSS/Child_selectors) (`>`). Arbitrary descendant selectors without this combinator (for example `'call_expression identifier'`, which would match any `identifier` occurring anywhere within a `call_expression`) are currently not supported.
9696

0 commit comments

Comments
 (0)