Highlight keyword payable, view, pure

pull/1/head
ninabreznik 7 years ago committed by yann300
parent 79021679a2
commit a5635e41f0
  1. 2
      src/app/editor/mode-solidity.js

@ -68,7 +68,7 @@ var JavaScriptHighlightRules = function(options) {
"contract|library|constant|event|modifier|" +
"struct|mapping|enum|break|continue|delete|else|for|function|" +
"if|new|return|returns|var|while|using|" +
"private|public|external|internal|storage|memory",
"private|public|external|internal|storage|memory|payable|view|pure|",
"storage.type":
"constant|var|function",
"constant.language.boolean": "true|false"

Loading…
Cancel
Save