Skip to content

Commit

Permalink
add Hook's icon and update lexicon (#4552)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiosvm committed Jan 6, 2023
1 parent fd09bac commit 69550eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/languages.ts
Expand Up @@ -357,7 +357,7 @@ const definitions: Record<LanguageKey, LanguageDefinition> = {
monaco: 'hook',
extensions: ['.hk', '.hook'],
alias: [],
logoUrl: null,
logoUrl: 'hook.png',
logoUrlDark: null,
formatter: null,
previewFilter: null,
Expand Down
2 changes: 2 additions & 0 deletions static/modes/hook-mode.ts
Expand Up @@ -38,9 +38,11 @@ function definition() {
'false',
'fn',
'for',
'foreach',
'from',
'if',
'if!',
'in',
'loop',
'match',
'mut',
Expand Down
Binary file added views/resources/logos/hook.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 69550eb

Please sign in to comment.