Add ace-mode-move - syntax highlighting for Libra's Move language

pull/1/head
Loredana 5 years ago committed by François
parent b0041000df
commit 8457b41331
  1. 6
      package-lock.json
  2. 1
      package.json
  3. 2
      src/app/editor/editor.js

6
package-lock.json generated

@ -1717,6 +1717,12 @@
"negotiator": "0.6.2"
}
},
"ace-mode-move": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/ace-mode-move/-/ace-mode-move-0.0.1.tgz",
"integrity": "sha512-RRckwbouhlCg1n8LQrZ87ojVdJg8FZYxa6d4ot8PNNBRKHLvJagPu/poW9mmRCW4YAGvOfrGpJpZH1kOjitj/Q==",
"dev": true
},
"ace-mode-solidity": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/ace-mode-solidity/-/ace-mode-solidity-0.1.1.tgz",

@ -13,6 +13,7 @@
"@babel/register": "^7.4.4",
"@fortawesome/fontawesome-free": "^5.8.1",
"@resolver-engine/imports": "^0.3.0",
"ace-mode-move": "0.0.1",
"ace-mode-solidity": "^0.1.0",
"async": "^2.1.2",
"babel-eslint": "^10.0.0",

@ -12,6 +12,7 @@ require('brace/ext/language_tools')
require('brace/ext/searchbox')
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('brace/mode/javascript')
require('brace/mode/python')
require('brace/mode/json')
@ -65,6 +66,7 @@ class Editor {
this.emptySession = this._createSession('')
this.modes = {
sol: 'ace/mode/solidity',
mvir: 'ace/mode/move',
js: 'ace/mode/javascript',
py: 'ace/mode/python',
vy: 'ace/mode/python',

Loading…
Cancel
Save