Allow underscores and dashes in page names to fix highlighting issues with pages such as signal-safety or posix_openpt.

pull/671/head
Luna 5 years ago committed by David Peter
parent 4df5973fde
commit 853e48e3f3

BIN
assets/syntaxes.bin vendored

Binary file not shown.

@ -15,7 +15,7 @@ contexts:
push: first_line
first_line:
- match: '([A-Z0-9]+)(\()([^)]+)(\))'
- match: '([A-Z0-9_\-]+)(\()([^)]+)(\))'
captures:
1: meta.preprocessor
2: keyword.operator
@ -36,7 +36,7 @@ contexts:
- match: '^\S.*$'
scope: markup.heading
- match: '\b([a-z0-9_]+)(\()([^)]*)(\))'
- match: '\b([a-z0-9_\-]+)(\()([^)]*)(\))'
captures:
1: entity.name.function
2: keyword.operator

Loading…
Cancel
Save