Add ace/mode/rust in editor.js

pull/5370/head
dark64 5 years ago committed by Liana Husikyan
parent 4934b694b7
commit f435c5e054
  1. 4
      src/app/editor/editor.js

@ -19,6 +19,7 @@ require('ace-mode-zokrates')
require('brace/mode/javascript')
require('brace/mode/python')
require('brace/mode/json')
require('brace/mode/rust')
require('brace/theme/chaos')
require('brace/theme/chrome')
@ -85,7 +86,8 @@ class Editor extends Plugin {
zok: 'ace/mode/zokrates',
txt: 'ace/mode/text',
json: 'ace/mode/json',
abi: 'ace/mode/json'
abi: 'ace/mode/json',
rs: 'ace/mode/rust'
}
// Editor Setup

Loading…
Cancel
Save