Skip to content

Commit 3abf3a2

Browse files
authored
(docs) fix typo: higlighted -> highlighted (highlightjs#2671)
There is a small typo in src/languages/autohotkey.js, src/languages/typescript.js. Should read `highlighted` rather than `higlighted`.
1 parent fc33aea commit 3abf3a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/languages/autohotkey.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function(hljs) {
4040
//I don't really know if this is totally relevant
4141
},
4242
{
43-
className: 'title', //symbol would be most accurate however is higlighted just like built_in and that makes up a lot of AutoHotkey code
43+
className: 'title', //symbol would be most accurate however is highlighted just like built_in and that makes up a lot of AutoHotkey code
4444
//meaning that it would fail to highlight anything
4545
variants: [
4646
{begin: '^[^\\n";]+::(?!=)'},

src/languages/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export default function(hljs) {
205205
PARAMS
206206
]
207207
},
208-
{ // prevent references like module.id from being higlighted as module definitions
208+
{ // prevent references like module.id from being highlighted as module definitions
209209
begin: /module\./,
210210
keywords: { built_in: 'module' },
211211
relevance: 0

0 commit comments

Comments
 (0)