diff --git a/apps/remix-ide/src/app/editor/editor.js b/apps/remix-ide/src/app/editor/editor.js index 49922c8ba0..996eeedf17 100644 --- a/apps/remix-ide/src/app/editor/editor.js +++ b/apps/remix-ide/src/app/editor/editor.js @@ -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', diff --git a/package-lock.json b/package-lock.json index 8bcfd029c1..24003b7fab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 4f80b2682a..0835a8b451 100644 --- a/package.json +++ b/package.json @@ -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",