Merge pull request #267 from ethereum/step21-ace-mode-lexon

Added lexon syntax highlighting
pull/386/head
yann300 4 years ago committed by GitHub
commit bb0d7f3817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/remix-ide/src/app/editor/editor.js
  2. 6
      package-lock.json
  3. 1
      package.json

@ -16,6 +16,7 @@ const langTools = ace.acequire('ace/ext/language_tools')
require('ace-mode-solidity/build/remix-ide/mode-solidity')
require('ace-mode-move/build/remix-ide/mode-move')
require('ace-mode-zokrates')
require('ace-mode-lexon')
require('brace/mode/javascript')
require('brace/mode/python')
require('brace/mode/json')
@ -87,6 +88,7 @@ class Editor extends Plugin {
py: 'ace/mode/python',
vy: 'ace/mode/python',
zok: 'ace/mode/zokrates',
lex: 'ace/mode/lexon',
txt: 'ace/mode/text',
json: 'ace/mode/json',
abi: 'ace/mode/json',

6
package-lock.json generated

@ -7495,6 +7495,12 @@
"negotiator": "0.6.2"
}
},
"ace-mode-lexon": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/ace-mode-lexon/-/ace-mode-lexon-1.0.5.tgz",
"integrity": "sha512-kn42vP48Cl+qrhAcjld1l4OjH4kdqQRL37XVI3kS+eluNZcB/0wGcIQ/44+F7Hv2tMPmsqMOnlaCCGIlBkb0Zw==",
"dev": true
},
"ace-mode-move": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/ace-mode-move/-/ace-mode-move-0.0.1.tgz",

@ -175,6 +175,7 @@
"ace-mode-move": "0.0.1",
"ace-mode-solidity": "^0.1.0",
"ace-mode-zokrates": "^1.0.0",
"ace-mode-lexon": "^1.*.*",
"async": "^2.1.2",
"babel-eslint": "^10.0.0",
"babel-plugin-add-module-exports": "^1.0.2",

Loading…
Cancel
Save