We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad1d4d commit d0a09c6Copy full SHA for d0a09c6
solidity-mode.el
@@ -97,6 +97,8 @@
97
"private"
98
"public"
99
"internal"
100
+ "pure"
101
+ "view"
102
"return"
103
"returns"
104
"struct"
@@ -107,6 +109,9 @@
107
109
"while"
108
110
"enum"
111
"throw"
112
+ "assert"
113
+ "require"
114
+ "revert"
115
"storage"
116
"memory"
117
)
@@ -384,7 +389,7 @@ Highlight the 1st result."
384
389
Highlight the 1st result."
385
390
(solidity-match-regexp
386
391
(concat
387
- " *\\(mapping\\) +(.*) *\\("(regexp-opt solidity-variable-modifier) " \\)*\\(" solidity-identifier-regexp "\\)")
392
+ " *\\(mapping\\) *(.*) *\\("(regexp-opt solidity-variable-modifier) " \\)*\\(" solidity-identifier-regexp "\\)")
388
393
limit))
394
395
(defun solidity-match-variable-decls (limit)
0 commit comments