Skip to content

Commit 7d28ed5

Browse files
committed
Add highlighting for 'using ... global'
1 parent 4c39b72 commit 7d28ed5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/languages/solidity.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function hljsDefineSolidity(hljs) {
7979
'storage memory calldata ' +
8080
'external public internal payable pure view private returns ' +
8181

82-
'import from as using pragma ' +
82+
'import from as using global pragma ' +
8383
'contract interface library is abstract ' +
8484
'type ' +
8585
'assembly',
@@ -285,7 +285,7 @@ function hljsDefineSolidity(hljs) {
285285
{ // using
286286
beginKeywords: 'using', end: ';',
287287
lexemes: SOL_LEXEMES_RE,
288-
keywords: 'using for',
288+
keywords: 'using for global',
289289
contains: [
290290
SOL_TITLE_MODE,
291291
hljs.C_LINE_COMMENT_MODE,

0 commit comments

Comments
 (0)