File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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 ,
@@ -314,6 +314,8 @@ function hljsDefineSolidity(hljs) {
314314 contains : [
315315 hljs . C_LINE_COMMENT_MODE ,
316316 hljs . C_BLOCK_COMMENT_MODE ,
317+ hljs . inherit ( SOL_APOS_STRING_MODE , { className : 'meta-string' } ) , //going to count "memory-safe" etc as meta-strings
318+ hljs . inherit ( SOL_QUOTE_STRING_MODE , { className : 'meta-string' } ) ,
317319 hljs . inherit ( SOL_ASSEMBLY_ENVIRONMENT , { //the actual *block* in the assembly section
318320 begin : '{' , end : '}' ,
319321 endsParent : true ,
You can’t perform that action at this time.
0 commit comments