Skip to content

Commit

Permalink
feat: use Ace's Flix mode (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
sockmaster27 authored Nov 5, 2023
1 parent 78612e3 commit ad04902
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Editor.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, {Component} from 'react';
import AceEditor from 'react-ace'

import "ace-builds/src-noconflict/mode-scala";
import "ace-builds/src-noconflict/mode-flix";
import "ace-builds/src-noconflict/theme-xcode";

class Editor extends Component {
Expand All @@ -21,7 +21,7 @@ class Editor extends Component {
<div>
<div>
<AceEditor
mode='scala'
mode='flix'
theme='xcode'
ref="aceEditor"
fontSize={14}
Expand Down

0 comments on commit ad04902

Please sign in to comment.